LED clock
 All Files Functions Variables Macros Groups
Macros
ADC used to ambient luminosity

Macros

#define PHOTORESISTOR_ADC_CHANNEL   ADC_CHANNEL1
 ADC channel.
 
#define PHOTORESISTOR_PORT   GPIOA
 port on which the battery is connected
 
#define PHOTORESISTOR_PORT_RCC   RCC_GPIOA
 timer port peripheral clock
 
#define PHOTORESISTOR_PIN   GPIO1
 pin of the port on which the battery is connected
 

Detailed Description