Loading...
Searching...
No Matches
rgbled_t Struct Reference

Descriptor struct for rgbleds. More...

Detailed Description

Descriptor struct for rgbleds.

Definition at line 34 of file rgbled.h.

#include <rgbled.h>

Data Fields

pwm_t device
 PWM device to use to control rgbleds.
 
int channel_r
 set the R value in RGB
 
int channel_g
 set the G value in RGB
 
int channel_b
 set the B value in RGB
 

Field Documentation

◆ channel_b

int rgbled_t::channel_b

set the B value in RGB

Definition at line 38 of file rgbled.h.

◆ channel_g

int rgbled_t::channel_g

set the G value in RGB

Definition at line 37 of file rgbled.h.

◆ channel_r

int rgbled_t::channel_r

set the R value in RGB

Definition at line 36 of file rgbled.h.

◆ device

pwm_t rgbled_t::device

PWM device to use to control rgbleds.

Definition at line 35 of file rgbled.h.


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