#include <Led_Sysfs.h>
|
| Led_Sysfs (const char *red, const char *green, const char *blue, uint8_t off_brightness=0xff, uint8_t low_brightness=0x00, uint8_t medium_brightness=0x00, uint8_t high_brightness=0x00) |
|
| RGBLed (uint8_t led_off, uint8_t led_bright, uint8_t led_medium, uint8_t led_dim) |
|
virtual bool | init (void) |
|
virtual bool | healthy () |
|
virtual void | set_rgb (uint8_t red, uint8_t green, uint8_t blue) |
|
virtual void | update () |
|
virtual void | handle_led_control (mavlink_message_t *msg) override |
|
virtual | ~NotifyDevice () |
|
virtual void | handle_play_tune (mavlink_message_t *msg) |
|
Definition at line 26 of file Led_Sysfs.h.
◆ Led_Sysfs()
Led_Sysfs::Led_Sysfs |
( |
const char * |
red, |
|
|
const char * |
green, |
|
|
const char * |
blue, |
|
|
uint8_t |
off_brightness = 0xff , |
|
|
uint8_t |
low_brightness = 0x00 , |
|
|
uint8_t |
medium_brightness = 0x00 , |
|
|
uint8_t |
high_brightness = 0x00 |
|
) |
| |
◆ hw_init()
bool Led_Sysfs::hw_init |
( |
void |
| ) |
|
|
overrideprotectedvirtual |
◆ hw_set_rgb()
bool Led_Sysfs::hw_set_rgb |
( |
uint8_t |
r, |
|
|
uint8_t |
g, |
|
|
uint8_t |
b |
|
) |
| |
|
overrideprotectedvirtual |
◆ blue_led
◆ green_led
◆ red_led
The documentation for this class was generated from the following files: