#include <leds.h>
|
| | TeensyLEDs () |
| |
| bool | set (const uint8_t led, bool on) override |
| | Sets specified front led to the specified value.
|
| |
| void | set_all (const uint8_t states) override |
| | Sets all eight front leds at once.
|
| |
| void | reset () override |
| | Disables all eight front leds.
|
| |
| uint8_t | get_all () const override |
| | Returns the current state of the front leds.
|
| |
| utils::status | write_to_hardware () const override |
| |
Definition at line 9 of file leds.h.
◆ TeensyLEDs()
| platform::TeensyLEDs::TeensyLEDs |
( |
| ) |
|
◆ get_all()
| uint8_t platform::TeensyLEDs::get_all |
( |
| ) |
const |
|
override |
Returns the current state of the front leds.
Definition at line 28 of file leds.cpp.
◆ reset()
| void platform::TeensyLEDs::reset |
( |
| ) |
|
|
override |
Disables all eight front leds.
Definition at line 23 of file leds.cpp.
◆ set()
| bool platform::TeensyLEDs::set |
( |
const uint8_t | led, |
|
|
bool | on ) |
|
override |
Sets specified front led to the specified value.
Definition at line 9 of file leds.cpp.
◆ set_all()
| void platform::TeensyLEDs::set_all |
( |
const uint8_t | states | ) |
|
|
override |
Sets all eight front leds at once.
Definition at line 21 of file leds.cpp.
◆ write_to_hardware()
| utils::status platform::TeensyLEDs::write_to_hardware |
( |
| ) |
const |
|
override |
The documentation for this class was generated from the following files:
- lib/hardware/src/lucidac/teensy/leds.h
- lib/hardware/src/lucidac/leds.cpp