Joel Pallent
/
Elec241-adc
c
ADC.h
- Committer:
- Joelpallent
- Date:
- 2018-05-31
- Revision:
- 0:7088bc4c9949
File content as of revision 0:7088bc4c9949:
#ifndef _ADC_H #define _ADC_H #include <stm32f4xx.h> #define ADC_input_port GPIOC #define ADC_input_pin 0 #define ADC_Channel 10 void init_ADC(void); unsigned short read_adc(void); #endif