mirror of
https://github.com/SemvdH/OBD2-car-display.git
synced 2025-12-16 12:41:05 +00:00
bars
This commit is contained in:
@@ -68,6 +68,25 @@ Be sure to disconnect the TX and RX pins from the BT module when programming the
|
||||
#define UPDATE_MANIFOLD_PRESSURE_POS 0x0A
|
||||
#define UPDATE_FUEL_LEVEL_POS 0x0B
|
||||
|
||||
#define COOLANT_TEMP_MIN 0
|
||||
#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 ENGINE_LOAD_MIN 0
|
||||
#define ENGINE_LOAD_MAX 100
|
||||
#define BATTERY_VOLTAGE_MIN 0
|
||||
#define BATTERY_VOLTAGE_MAX 16
|
||||
#define FUEL_PRESSURE_MIN 0
|
||||
#define FUEL_PRESSURE_MAX 765
|
||||
#define MANIFOLD_PRESSURE_MIN 0
|
||||
#define MANIFOLD_PRESSURE_MAX 255
|
||||
#define FUEL_LEVEL_MIN 0
|
||||
#define FUEL_LEVEL_MAX 100
|
||||
|
||||
enum BluetoothState
|
||||
{
|
||||
BT_INITIALISING = 0,
|
||||
@@ -116,7 +135,7 @@ char obd2_elm327_init(obd2_elm327_t *elm327);
|
||||
void obd2_elm327_process_fast(obd2_elm327_t *elm327);
|
||||
|
||||
/**
|
||||
* @brief processes the bluetooth module communication with the OBD2 reader for variables that change slowly
|
||||
* @brief processes the bluetooth module communication with the OBD2 reader for variables that change slowly (checks every 5 seconds)
|
||||
*
|
||||
* @param bt pointer to struct holding bluetooth driver data
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user