Pico Led Controller 1.0.3
A project to control LEDs using Raspberry Pi Pico W
light_state_t Struct Reference

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
 

Detailed Description

Light state struct.

Struct for the light state.

Parameters
statestate
brightnessbrightness
previous_brightnesslast set brightness
light_modelight mode
colorcolor

Definition at line 56 of file light_state.h.

Field Documentation

◆ brightness

◆ color

◆ light_mode

◆ previous_brightness

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().

◆ state


The documentation for this struct was generated from the following file: