Helper to encapsulate the sensor leds state.
More...
#include <SensorLeds.h>
Helper to encapsulate the sensor leds state.
◆ SensorLeds() [1/2]
SensorLeds::SensorLeds |
( |
| ) |
|
◆ SensorLeds() [2/2]
SensorLeds::SensorLeds |
( |
bool |
pStatusLed, |
|
|
bool |
pLogoLed |
|
) |
| |
Copy constructor.
- Parameters
-
pStatusLed | Stauts led as abool |
pLogoLed | Logo led as a bool |
◆ GetLogoLed()
bool SensorLeds::GetLogoLed |
( |
| ) |
|
Gets the logo led.
- Returns
- Logo led as a bool (true: ON, false: OFF)
◆ GetStatusLed()
bool SensorLeds::GetStatusLed |
( |
| ) |
|
Gets the status led.
- Returns
- Status led as a bool (true: ON, false: OFF)
◆ SetLogoLed()
void SensorLeds::SetLogoLed |
( |
bool |
pLogoLed | ) |
|
Sets the loogo led.
- Parameters
-
pStatusLed | The logo led to be set (true: ON, false: OFF) |
◆ SetStatusLed()
void SensorLeds::SetStatusLed |
( |
bool |
pStatusLed | ) |
|
Sets the status led.
- Parameters
-
pStatusLed | The status led to be set (true: ON, false: OFF) |
The documentation for this class was generated from the following files: