LED Parameters. More...
#include <LED.h>
Data Fields | |
uint32_t | pwmPeriod |
uint16_t | blinkPeriod |
uint8_t | brightness |
LED_State | setState |
LED Parameters.
LED parameters are used with the LED_open() call. Default values for these parameters are set using LED_Params_init(). It contains brightness field which will be used to control brightness of a LED and also blink period if user wants to set LED in blinking mode.
uint32_t LED_Params::pwmPeriod |
pwmPeriod(us) of controlling PWM
uint16_t LED_Params::blinkPeriod |
param to set blink period (in ms)
uint8_t LED_Params::brightness |
may vary from 0-100% for PWM LED
LED_State LED_Params::setState |
request to set a LED state(eg blinking)