Show first bars of data

This commit is contained in:
Sem van der Hoeven
2025-04-03 00:22:07 +02:00
parent 2f325e3254
commit 48933e2bab
6 changed files with 218 additions and 92 deletions

View File

@@ -57,6 +57,14 @@ Be sure to disconnect the TX and RX pins from the BT module when programming the
#define UPDATE_RPM_POS 0x00
#define UPDATE_THROTTLE_POS 0x01
/**
* Temperatures:
* - coolant
* - intake air
* - ambient air
* - oil
*/
#define UPDATE_COOLANT_TEMP_POS 0x02
#define UPDATE_INTAKE_AIR_TEMP_POS 0x03
#define UPDATE_AMBIENT_AIR_TEMP_POS 0x04
@@ -72,10 +80,10 @@ Be sure to disconnect the TX and RX pins from the BT module when programming the
#define COOLANT_TEMP_MAX 120
#define INTAKE_AIR_TEMP_MIN -40
#define INTAKE_AIR_TEMP_MAX 120
#define AMBIENT_AIR_TEMP_MIN -40
#define AMBIENT_AIR_TEMP_MAX 120
#define OIL_TEMP_MIN -40
#define OIL_TEMP_MAX 120
#define AMBIENT_AIR_TEMP_MIN -30
#define AMBIENT_AIR_TEMP_MAX 50
#define OIL_TEMP_MIN 0
#define OIL_TEMP_MAX 130
#define ENGINE_LOAD_MIN 0
#define ENGINE_LOAD_MAX 100
#define BATTERY_VOLTAGE_MIN 0