|
Digigurdy-baz
|
#include <simpleled.h>
Public Member Functions | |
| SimpleLED (int pin) | |
| Cosntructor. SimpleLED is meant for controlling a LED connected to a given pin. More... | |
| void | on () |
| Turns the LED on. More... | |
| void | off () |
| Turns the LED off. More... | |
| void | disable () |
| Disabled the LED. If disabled, on() and off() will not respond. More... | |
| void | enable () |
| Enables the LED. More... | |
| SimpleLED::SimpleLED | ( | int | pin | ) |
Cosntructor. SimpleLED is meant for controlling a LED connected to a given pin.
| pin | The digital pin to use |
| void SimpleLED::enable | ( | ) |
Enables the LED.
| void SimpleLED::off | ( | ) |
Turns the LED off.
| void SimpleLED::on | ( | ) |
Turns the LED on.