]> www.fi.muni.cz Git - bike-lights.git/blobdiff - firmware/lights.h
ADC measurements in mA
[bike-lights.git] / firmware / lights.h
index fe8b59f10730c097394cec835b3dbab7206796d1..16f262e1d159bac7278ee3ee22b6193f7cd13f6f 100644 (file)
@@ -23,6 +23,7 @@ void inline log_word(uint16_t word) { }
 #endif
 
 /* adc.c */
+#define PWMLED_ADC_SHIFT 3 /* 1<<3 measurements per single callback */
 void init_adc();
 void susp_adc();