Plant Watering Sensor
|
The display module controls the visual signals to the user. More...
Enumerations | |
enum | Color : uint8_t { Red = Hardware::LED_Red, Green = Hardware::LED_Green } |
The color for the display. More... | |
Functions | |
void | flash (Color color, uint8_t flashCount) |
Display a number of flashes. More... | |
void | modulateLed (Color color, uint8_t pwmValue) |
One cycle of a modulated LED. More... | |
void | pulse (Color color) |
Smooth Pulse one time. More... | |
void | dimSignal (Color color) |
Very short dim signal. More... | |
The display module controls the visual signals to the user.
enum Display::Color : uint8_t |
void Display::dimSignal | ( | Color | color | ) |
Very short dim signal.
color | The color for the signal. |
Definition at line 73 of file Display.cpp.
void Display::flash | ( | Color | color, |
uint8_t | flashCount | ||
) |
Display a number of flashes.
color | The color for the flash. |
flashCount | The number of flashes to show. |
Definition at line 31 of file Display.cpp.
void Display::modulateLed | ( | Color | color, |
uint8_t | pwmValue | ||
) |
One cycle of a modulated LED.
color | The color for the cycle. |
pwmValue | The PWM value for the on state of the cycle. |
Definition at line 49 of file Display.cpp.
void Display::pulse | ( | Color | color | ) |
Smooth Pulse one time.
color | The color for the pulse. |
Definition at line 58 of file Display.cpp.