SAE Teensy ECU
IIT SAE Microcontroller programming
|
SerialVar is used for variables that can be modified over usb serial while still being used during runtime like a normal variable. More...
Classes | |
class | SerialVar |
Template of a Serial Variable. More... | |
Typedefs | |
typedef SerialVar< float > | SerialFloat |
Convienece type for SerialVar floats. | |
typedef SerialVar< int > | SerialInt |
Convienece type for SerialVar ints. | |
typedef SerialVar< unsigned int > | SerialUInt |
Convienece type for SerialVar uints. | |
Functions | |
uint8_t * | getVariable (size_t ID) |
Get the Serial Variable for a given ID. | |
void | receiveSerialVar () |
Receive a variable over serial. | |
SerialVar is used for variables that can be modified over usb serial while still being used during runtime like a normal variable.
typedef SerialVar<float> SerialVar::SerialFloat |
Convienece type for SerialVar floats.
Definition at line 84 of file SerialVar.h.
typedef SerialVar<int> SerialVar::SerialInt |
Convienece type for SerialVar ints.
Definition at line 88 of file SerialVar.h.
typedef SerialVar<unsigned int> SerialVar::SerialUInt |
Convienece type for SerialVar uints.
Definition at line 92 of file SerialVar.h.
uint8_t * SerialVar::getVariable | ( | size_t | ID | ) |
Get the Serial Variable for a given ID.
ID | the ID of the variable |