From 1a49e2cced7b640614a224dcec60dd81d852aa36 Mon Sep 17 00:00:00 2001 From: larsm Date: Fri, 7 Sep 2018 19:53:35 +0200 Subject: [PATCH] fixed comment in battery calibration. it is serial debug channel 5, not 4. --- Inc/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Inc/config.h b/Inc/config.h index a2964f3..f7e035f 100644 --- a/Inc/config.h +++ b/Inc/config.h @@ -16,7 +16,7 @@ // Battery voltage calibration: connect power source. see . write value nr 5 to BAT_CALIB_ADC. make and flash firmware. then you can verify voltage on value 6 (devide it by 100.0 to get calibrated voltage). #define BAT_CALIB_REAL_VOLTAGE 43.0 // input voltage measured by multimeter -#define BAT_CALIB_ADC 1704 // adc-value measured by mainboard (value nr 4 on UART debug output) +#define BAT_CALIB_ADC 1704 // adc-value measured by mainboard (value nr 5 on UART debug output) #define BAT_NUMBER_OF_CELLS 10 // normal Hoverboard battery: 10s #define BAT_LOW_LVL1_ENABLE 0 // to beep or not to beep, 1 or 0