Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
led_rgb Struct Reference

Color value for a single RGB LED. More...

#include <led_strip.h>

Data Fields

uint8_t r
 Red channel.
 
uint8_t g
 Green channel.
 
uint8_t b
 Blue channel.
 

Detailed Description

Color value for a single RGB LED.

Individual strip drivers may ignore lower-order bits if their resolution in any channel is less than a full byte.

Field Documentation

◆ b

uint8_t led_rgb::b

Blue channel.

◆ g

uint8_t led_rgb::g

Green channel.

◆ r

uint8_t led_rgb::r

Red channel.


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