An implementation of IDisplay that uses the HAL to write to the serial output.
More...
#include <SerialDisplay.h>
An implementation of IDisplay that uses the HAL to write to the serial output.
◆ SerialDisplay()
| SerialDisplay::SerialDisplay |
( |
IHAL & | hal | ) |
|
◆ initialize()
| void SerialDisplay::initialize |
( |
| ) |
|
|
overridevirtual |
Initialize the display.
In general, must be called before any calls to update.
Implements IDisplay.
◆ update()
| void SerialDisplay::update |
( |
float | channel1Power, |
|
|
float | channel2Power ) |
|
overridevirtual |
Update the display with all relevant values.
- Parameters
-
| channel1Power | The output duty cycle for channel 1 (between 0 and 1) |
| channel2Power | The output duty cycle for channel 2 (between 0 and 1) |
Implements IDisplay.
◆ hal
◆ string_buffer
| char SerialDisplay::string_buffer[128] |
|
private |
The documentation for this class was generated from the following files: