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

Calibration page implementation. More...

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

Go to the source code of this file.

Macros

#define CALIBRATION_STRING   "calibration"
 
#define CALIBRATION_THROTTLE1   "thr1"
 
#define CALIBRATION_THROTTLE2   "thr2"
 
#define CALIBRATION_BRAKE1   "brk1"
 
#define CALIBRATION_BRAKE2   "brk2"
 
#define CALIBRATION_BRAKE_PRS1   "brkprs1"
 
#define CALIBRATION_BRAKE_PRS2   "brkprs2"
 
#define CALIBRATION_STATUS   "status"
 

Functions

void calibration_telemetry_update ()
 Updates the LCD display with current pedal telemetry data when on CALIBRATION page.
 

Detailed Description

Calibration page implementation.

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

Macro Definition Documentation

◆ CALIBRATION_BRAKE1

#define CALIBRATION_BRAKE1   "brk1"

◆ CALIBRATION_BRAKE2

#define CALIBRATION_BRAKE2   "brk2"

◆ CALIBRATION_BRAKE_PRS1

#define CALIBRATION_BRAKE_PRS1   "brkprs1"

◆ CALIBRATION_BRAKE_PRS2

#define CALIBRATION_BRAKE_PRS2   "brkprs2"

◆ CALIBRATION_STATUS

#define CALIBRATION_STATUS   "status"

◆ CALIBRATION_STRING

#define CALIBRATION_STRING   "calibration"

◆ CALIBRATION_THROTTLE1

#define CALIBRATION_THROTTLE1   "thr1"

◆ CALIBRATION_THROTTLE2

#define CALIBRATION_THROTTLE2   "thr2"

Function Documentation

◆ calibration_telemetry_update()

void calibration_telemetry_update ( )

Updates the LCD display with current pedal telemetry data when on CALIBRATION page.

Updates brake and throttle bars, raw ADC values, deviation percentages, and status indicators for brake and throttle pedals. Also displays fault statuses if detected.

Note
Only executes when current page is PAGE_CALIBRATION
Here is the call graph for this function: