Adafruit driver converted to Mbed OS 6.x.

Dependents:   Adafruit-BNO055-test

Embed: (wiki syntax)

« Back to documentation index

sensors_color_t Struct Reference

sensors_color_t Struct Reference

struct sensors_color_s is used to return color data in a common format. More...

#include <Adafruit_Sensor.h>

Data Fields

unsigned int rgba
 24-bit RGBA value
float r
 Red component.
float g
 Green component.
float b
 Blue component.

Detailed Description

struct sensors_color_s is used to return color data in a common format.

Definition at line 79 of file Adafruit_Sensor.h.


Field Documentation

float b

Blue component.

Definition at line 86 of file Adafruit_Sensor.h.

float g

Green component.

Definition at line 85 of file Adafruit_Sensor.h.

float r

Red component.

Definition at line 84 of file Adafruit_Sensor.h.

unsigned int rgba

24-bit RGBA value

Definition at line 89 of file Adafruit_Sensor.h.