RBControl
Library for the RB3201-RBControl board with the ESP32 by RoboticsBrno.
|
Helper class for controlling the LEDs connected to the expander. More...
#include <RBControl_leds.hpp>
Public Member Functions | |
void | red (bool on=true) |
Set the red LED state. More... | |
void | yellow (bool on=true) |
Set the yellow LED state. More... | |
void | green (bool on=true) |
Set the green LED state. More... | |
void | blue (bool on=true) |
Set the blue LED state. More... | |
Friends | |
class | Manager |
Helper class for controlling the LEDs connected to the expander.
void rb::Leds::blue | ( | bool | on = true | ) |
Set the blue LED state.
void rb::Leds::green | ( | bool | on = true | ) |
Set the green LED state.
void rb::Leds::red | ( | bool | on = true | ) |
Set the red LED state.
void rb::Leds::yellow | ( | bool | on = true | ) |
Set the yellow LED state.
|
friend |