|
PebbleOS v4.47.0
|
LED driver operations. More...
#include <led.h>
Data Fields | |
| int(* | set )(const struct pbl_led *led, uint8_t brightness, uint32_t rgb_color) |
| Apply a brightness, 0 being off, and a color as 0xRRGGBB. | |
| int(* | refresh )(const struct pbl_led *led, uint8_t brightness, uint32_t rgb_color) |
| Optional. | |
LED driver operations.
| int(* pbl_led_ops::refresh) (const struct pbl_led *led, uint8_t brightness, uint32_t rgb_color) |
Optional.
Configure the controller again, then apply the brightness and color.
| int(* pbl_led_ops::set) (const struct pbl_led *led, uint8_t brightness, uint32_t rgb_color) |
Apply a brightness, 0 being off, and a color as 0xRRGGBB.