12 行
201 B
C
12 行
201 B
C
#ifndef __MYADC_H
|
|
#define __MYADC_H
|
|
#include "stm32f10x.h"
|
|
|
|
// initialise tout ce au'il y a a faire pour l'ADC:
|
|
void initADC(int channel);
|
|
|
|
void startADC(void);
|
|
|
|
int read(void);
|
|
|
|
#endif
|