diff --git a/Inc/config.h b/Inc/config.h index 348a6fa..0920266 100644 --- a/Inc/config.h +++ b/Inc/config.h @@ -2,8 +2,8 @@ #include "stm32f1xx_hal.h" //Select the calibration values for the different pcbs -//#define BOBBYCAR_PCB_FRONT -#define BOBBYCAR_PCB_REAR +#define BOBBYCAR_PCB_FRONT //Green PCB +//#define BOBBYCAR_PCB_REAR //Blue PCB // ############################### DO-NOT-TOUCH SETTINGS ############################### @@ -53,7 +53,7 @@ #endif #ifdef BOBBYCAR_PCB_FRONT #define BAT_CALIB_REAL_VOLTAGE 4000 // input voltage measured by multimeter (multiplied by 100). In this case 40.00 V * 100 = 4300 - #define BAT_CALIB_ADC 1593 // adc-value measured by mainboard (value nr 5 on UART debug output) + #define BAT_CALIB_ADC 1580 // adc-value measured by mainboard (value nr 5 on UART debug output) #endif #define BAT_CELLS 10 // battery number of cells. Normal Hoverboard battery: 10s