|
Formula Student Electronics & Software
The code for the embedded software
|

Go to the source code of this file.
Macros | |
| #define | NEXTION_PORT Serial1 |
Functions | |
| EasyNex | myNex (NEXTION_PORT) |
| int | mapSensorValueToSwitchNumber (int sensorValue) |
| void | displaySetup () |
| void | displayUpdate () |
Variables | |
| int | rpm = 0 |
| int | soc = 0 |
| int | current = 0 |
| int | speedInt = 0 |
| int | switchPin = 14 |
| int | ACCurrent = 0 |
| int | motorTemp = 0 |
| int | lowTemp = 0 |
| int | sensorValue = 0 |
| int | highTemp = 0 |
| int | currentPage = 0 |
| int | packVoltage = 0 |
| int | powerStageTemp = 0 |
| #define NEXTION_PORT Serial1 |
Definition at line 7 of file display.cpp.
| void displaySetup | ( | ) |
Definition at line 36 of file display.cpp.


| void displayUpdate | ( | ) |
| int mapSensorValueToSwitchNumber | ( | int | sensorValue | ) |
| EasyNex myNex | ( | NEXTION_PORT | ) |

| int ACCurrent = 0 |
Definition at line 16 of file display.cpp.
| int current = 0 |
Definition at line 13 of file display.cpp.
| int currentPage = 0 |
Definition at line 21 of file display.cpp.
| int highTemp = 0 |
Definition at line 20 of file display.cpp.
| int lowTemp = 0 |
Definition at line 18 of file display.cpp.
| int motorTemp = 0 |
Definition at line 17 of file display.cpp.
| int packVoltage = 0 |
Definition at line 22 of file display.cpp.
| int powerStageTemp = 0 |
Definition at line 23 of file display.cpp.
| int rpm = 0 |
Definition at line 11 of file display.cpp.
| int sensorValue = 0 |
Definition at line 19 of file display.cpp.
| int soc = 0 |
Definition at line 12 of file display.cpp.
| int speedInt = 0 |
Definition at line 14 of file display.cpp.
| int switchPin = 14 |
Definition at line 15 of file display.cpp.