![]() |
Pico Led Controller 1.0.3
A project to control LEDs using Raspberry Pi Pico W
|
Light state struct. More...
#include <light_state.h>
Data Fields | |
bool | state |
uint8_t | brightness |
uint8_t | previous_brightness |
enum light_modes | light_mode |
enum light_colors | color |
Light state struct.
Struct for the light state.
state | state |
brightness | brightness |
previous_brightness | last set brightness |
light_mode | light mode |
color | color |
Definition at line 56 of file light_state.h.
uint8_t light_state_t::brightness |
Definition at line 59 of file light_state.h.
Referenced by cgi_led_brightness_handler(), cgi_led_handler(), get_current_color(), run_loop(), set_light_color(), set_light_mode(), ssi_handler(), and toggle_light_state().
enum light_colors light_state_t::color |
Definition at line 60 of file light_state.h.
Referenced by cgi_led_brightness_handler(), get_current_color(), set_light_color(), set_light_mode(), ssi_handler(), and toggle_light_color().
enum light_modes light_state_t::light_mode |
Definition at line 60 of file light_state.h.
Referenced by cgi_led_brightness_handler(), run_loop(), set_light_color(), set_light_mode(), ssi_handler(), toggle_light_mode(), and toggle_light_state().
uint8_t light_state_t::previous_brightness |
Definition at line 60 of file light_state.h.
Referenced by cgi_led_brightness_handler(), and cgi_led_handler().
bool light_state_t::state |
Definition at line 58 of file light_state.h.
Referenced by cgi_led_brightness_handler(), cgi_led_color_handler(), cgi_led_handler(), cgi_led_mode_handler(), gpio_button_irq_handler(), run_loop(), set_light_color(), set_light_mode(), ssi_handler(), and toggle_light_state().