|
Simone: a game of visual memory and speed
|
Structure to define the FSM of the RGB light system. More...
#include <fsm_rgb_light.h>
Data Fields | |
| fsm_t | f |
| rgb_color_t | color |
| uint8_t | intensity_perc |
| bool | new_color |
| bool | status |
| bool | idle |
| uint8_t | rgb_light_id |
Structure to define the FSM of the RGB light system.
Structure of the RGB light FSM.
| rgb_color_t fsm_rgb_light_t::color |
RGB color
| fsm_t fsm_rgb_light_t::f |
RGB light system FSM
| bool fsm_rgb_light_t::idle |
Flag to indicate if the RGB light being active is idle, or not
| uint8_t fsm_rgb_light_t::intensity_perc |
Intensity in percentage
| bool fsm_rgb_light_t::new_color |
Flag to indicate if a new color has to be set
| uint8_t fsm_rgb_light_t::rgb_light_id |
Unique RGB light system identifier number
| bool fsm_rgb_light_t::status |
Flag to indicate if the RGB light is active