Arduino Sim Racing Library v1.1.5
|
Simple struct containing min/max values for axis calibration. More...
#include <SimRacing.h>
Public Attributes | |
int | min |
Minimum value of the analog axis. | |
int | max |
Maximum value of the analog axis. | |
Simple struct containing min/max values for axis calibration.
Note that this does not set default values for these members, even though it would make sense to set them to the ADC min and max, because doing so inhibits aggregate initialization under C++11. That means users could not call the calibration functions with a simple brace-enclosed initializer list without creating a variable first.
Definition at line 227 of file SimRacing.h.
int SimRacing::AnalogInput::Calibration::max |
Maximum value of the analog axis.
Definition at line 229 of file SimRacing.h.
int SimRacing::AnalogInput::Calibration::min |
Minimum value of the analog axis.
Definition at line 228 of file SimRacing.h.