fix wrong calibration change for temperatures

This commit is contained in:
interfisch 2021-05-24 18:46:54 +02:00
parent a74a87ac11
commit 3399becb15
1 changed files with 11 additions and 11 deletions

View File

@ -124,6 +124,13 @@
//#define TEMP_CAL_LOW_DEG_C 358 // temperature 1: measured temperature [°C * 10]. Here 35.8 °C //#define TEMP_CAL_LOW_DEG_C 358 // temperature 1: measured temperature [°C * 10]. Here 35.8 °C
//#define TEMP_CAL_HIGH_ADC 1588 // temperature 2: ADC value //#define TEMP_CAL_HIGH_ADC 1588 // temperature 2: ADC value
//#define TEMP_CAL_HIGH_DEG_C 489 // temperature 2: measured temperature [°C * 10]. Here 48.9 °C //#define TEMP_CAL_HIGH_DEG_C 489 // temperature 2: measured temperature [°C * 10]. Here 48.9 °C
#ifdef BOBBYCAR_PCB_FRONT
//FRONT WHEELS PCB
#define TEMP_CAL_LOW_ADC 1722 // temperature 1: ADC value
#define TEMP_CAL_LOW_DEG_C 210 // temperature 1: measured temperature [°C * 10]. Here 22.0 °C
#define TEMP_CAL_HIGH_ADC 1580 // temperature 2: ADC value
#define TEMP_CAL_HIGH_DEG_C 500 // temperature 2: measured temperature [°C * 10]. Here °C
#endif
#ifdef BOBBYCAR_PCB_REAR #ifdef BOBBYCAR_PCB_REAR
//REAR WHEELS PCB //REAR WHEELS PCB
#define TEMP_CAL_LOW_ADC 1722 // temperature 1: ADC value #define TEMP_CAL_LOW_ADC 1722 // temperature 1: ADC value
@ -131,19 +138,12 @@
#define TEMP_CAL_HIGH_ADC 1580 // temperature 2: ADC value #define TEMP_CAL_HIGH_ADC 1580 // temperature 2: ADC value
#define TEMP_CAL_HIGH_DEG_C 500 // temperature 2: measured temperature [°C * 10]. Here 50.0 °C #define TEMP_CAL_HIGH_DEG_C 500 // temperature 2: measured temperature [°C * 10]. Here 50.0 °C
#endif #endif
#ifdef BOBBYCAR_PCB_FRONT
//FRONT WHEELS PCB
#define TEMP_CAL_LOW_ADC 1722 // temperature 1: ADC value
#define TEMP_CAL_LOW_DEG_C 220 // temperature 1: measured temperature [°C * 10]. Here 22.0 °C
#define TEMP_CAL_HIGH_ADC 1580 // temperature 2: ADC value
#define TEMP_CAL_HIGH_DEG_C 500 // temperature 2: measured temperature [°C * 10]. Here °C
#endif
#ifdef HOVERBRETT #ifdef HOVERBRETT
//Hoverbrett //Hoverbrett
#define TEMP_CAL_LOW_ADC 1722 // temperature 1: ADC value #define TEMP_CAL_LOW_ADC 1716 // temperature 1: ADC value
#define TEMP_CAL_LOW_DEG_C 220 // temperature 1: measured temperature [°C * 10]. Here 22.0 °C #define TEMP_CAL_LOW_DEG_C 210 // temperature 1: measured temperature [°C * 10]. Here 22.0 °C
#define TEMP_CAL_HIGH_ADC 1580 // temperature 2: ADC value #define TEMP_CAL_HIGH_ADC 1600 // temperature 2: ADC value
#define TEMP_CAL_HIGH_DEG_C 500 // temperature 2: measured temperature [°C * 10]. Here °C #define TEMP_CAL_HIGH_DEG_C 420 // temperature 2: measured temperature [°C * 10]. Here °C
#endif #endif
#define TEMP_WARNING_ENABLE 0 // to beep or not to beep, 1 or 0, DO NOT ACTIVITE WITHOUT CALIBRATION! #define TEMP_WARNING_ENABLE 0 // to beep or not to beep, 1 or 0, DO NOT ACTIVITE WITHOUT CALIBRATION!