Skip to content

Commit

Permalink
fixed comment in battery calibration. it is serial debug channel 5, n…
Browse files Browse the repository at this point in the history
…ot 4.
  • Loading branch information
larsm committed Sep 7, 2018
1 parent 2fce44c commit 1a49e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Inc/config.h
Expand Up @@ -16,7 +16,7 @@

// Battery voltage calibration: connect power source. see <How to calibrate>. 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
Expand Down

0 comments on commit 1a49e2c

Please sign in to comment.