PER Firmware
Loading...
Searching...
No Matches
race.h
Go to the documentation of this file.
1#ifndef RACE_H
2#define RACE_H
3
11#include <stdint.h>
12
13#define RACE_STRING "race"
14
15// Nextion object names
16#define THROT_BAR "throt"
17#define BRK_BAR "brake"
18#define FL_BAR "FL"
19#define FR_BAR "FR"
20#define RL_BAR "RL"
21#define RR_BAR "RR"
22#define PUMP_CHECK "pump"
23#define BATT_TEMP "BTemp"
24#define BATT_VOLT "volt"
25#define BATT_CURR "amp"
26#define MOTOR_TEMP "MTemp"
27#define IGBT_TEMP "IGBTemp"
28#define CAR_STATE "stat"
29#define SPEED "speed"
30#define RACE_TV_ON "tv"
31#define CURRENT_TIME "current"
32#define BEST_TIME "best"
33#define LAP_TIME "lap"
34
35typedef struct {
36 uint32_t minutes;
37 uint32_t seconds;
38 uint32_t centiseconds;
40
42
43#endif // RACE_H
void race_telemetry_update()
Updates telemetry data on the race dashboard LCD display.
Definition race.c:270
Definition race.h:35
uint32_t minutes
Definition race.h:36
uint32_t centiseconds
Definition race.h:38
uint32_t seconds
Definition race.h:37