player_blinkenlight_data Struct Reference

Data: state (PLAYER_BLINKENLIGHT_DATA_STATE) The blinkenlight data provides the current state of the indicator light. More...

#include <player_interfaces.h>

Collaboration diagram for player_blinkenlight_data:
Collaboration graph

Detailed Description

Data: state (PLAYER_BLINKENLIGHT_DATA_STATE) The blinkenlight data provides the current state of the indicator light.

Public Attributes

uint8_t enable
 FALSE: disabled, TRUE: enabled.
 
float period
 flash period (duration of one whole on-off cycle) [s]. More...
 
float dutycycle
 flash duty cycle (ratio of time-on to time-off in one cycle). More...
 
player_color_t color
 the color of the light
 

Member Data Documentation

◆ dutycycle

float player_blinkenlight_data::dutycycle

flash duty cycle (ratio of time-on to time-off in one cycle).

◆ period

float player_blinkenlight_data::period

flash period (duration of one whole on-off cycle) [s].


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