Simone: a game of visual memory and speed
fsm_rgb_light_t Struct Reference

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
 

Detailed Description

Structure to define the FSM of the RGB light system.

Structure of the RGB light FSM.

Field Documentation

◆ color

rgb_color_t fsm_rgb_light_t::color

RGB color

◆ f

fsm_t fsm_rgb_light_t::f

RGB light system FSM

◆ idle

bool fsm_rgb_light_t::idle

Flag to indicate if the RGB light being active is idle, or not

◆ intensity_perc

uint8_t fsm_rgb_light_t::intensity_perc

Intensity in percentage

◆ new_color

bool fsm_rgb_light_t::new_color

Flag to indicate if a new color has to be set

◆ rgb_light_id

uint8_t fsm_rgb_light_t::rgb_light_id

Unique RGB light system identifier number

◆ status

bool fsm_rgb_light_t::status

Flag to indicate if the RGB light is active


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