PER Firmware
Loading...
Searching...
No Matches
race.h File Reference

Race page implementation. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RACE_STRING   "race"
 
#define THROT_BAR   "throt"
 
#define RGN_BAR   "regen"
 
#define BRK_BAR   "brake"
 
#define FL_BAR   "FL"
 
#define FR_BAR   "FR"
 
#define RL_BAR   "RL"
 
#define RR_BAR   "RR"
 
#define PUMP_CHECK   "pump"
 
#define BATT_TEMP   "BTemp"
 
#define BATT_VOLT   "volt"
 
#define BATT_CURR   "amp"
 
#define MOTOR_TEMP   "MTemp"
 
#define IGBT_TEMP   "IGBTemp"
 
#define CAR_STATE   "stat"
 
#define SPEED   "speed"
 
#define RACE_TV_ON   "tv"
 
#define CURRENT_TIME   "current"
 
#define BEST_TIME   "best"
 
#define LAP_TIME   "lap"
 

Functions

void race_telemetry_update ()
 Updates telemetry data on the race dashboard LCD display.
 

Detailed Description

Race page implementation.

Author
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)

Macro Definition Documentation

◆ BATT_CURR

#define BATT_CURR   "amp"

◆ BATT_TEMP

#define BATT_TEMP   "BTemp"

◆ BATT_VOLT

#define BATT_VOLT   "volt"

◆ BEST_TIME

#define BEST_TIME   "best"

◆ BRK_BAR

#define BRK_BAR   "brake"

◆ CAR_STATE

#define CAR_STATE   "stat"

◆ CURRENT_TIME

#define CURRENT_TIME   "current"

◆ FL_BAR

#define FL_BAR   "FL"

◆ FR_BAR

#define FR_BAR   "FR"

◆ IGBT_TEMP

#define IGBT_TEMP   "IGBTemp"

◆ LAP_TIME

#define LAP_TIME   "lap"

◆ MOTOR_TEMP

#define MOTOR_TEMP   "MTemp"

◆ PUMP_CHECK

#define PUMP_CHECK   "pump"

◆ RACE_STRING

#define RACE_STRING   "race"

◆ RACE_TV_ON

#define RACE_TV_ON   "tv"

◆ RGN_BAR

#define RGN_BAR   "regen"

◆ RL_BAR

#define RL_BAR   "RL"

◆ RR_BAR

#define RR_BAR   "RR"

◆ SPEED

#define SPEED   "speed"

◆ THROT_BAR

#define THROT_BAR   "throt"

Function Documentation

◆ race_telemetry_update()

void race_telemetry_update ( )

Updates telemetry data on the race dashboard LCD display.

Only updates on race page. Displays 'S' for stale values.

Here is the call graph for this function: