|
Adafruit Unified Sensor Library
|
#include <Adafruit_Sensor.h>
Public Attributes | |
| union { | |
| float c [3] | |
| Raw 3-element data. | |
| struct { | |
| float r | |
| float g | |
| float b | |
| } | |
| RGB data in floating point notation. | |
| }; | |
| Union of various ways to describe RGB colorspace. | |
| uint32_t | rgba |
struct sensors_color_s is used to return color data in a common format.
| float sensors_color_t::r |
Red component
| float sensors_color_t::g |
Green component
| float sensors_color_t::b |
Blue component
| uint32_t sensors_color_t::rgba |
24-bit RGBA value
1.8.13