Luminosity sensor by Texas Advanced Optoelectronic Solutions Inc.. Device combines one broadband photodiode (visible plus infrared) and one infrared-responding photodiode. Sets Gain x1 and 402mS as default.

Dependents:   MusicBoxForFathersDay FTHR_SensorHub Affich_Lum_Moist Projetv0 ... more

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 <TSL2561.h>

Data Fields

uint32_t 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 115 of file TSL2561.h.


Field Documentation

float b

Blue component.

Definition at line 122 of file TSL2561.h.

float g

Green component.

Definition at line 121 of file TSL2561.h.

float r

Red component.

Definition at line 120 of file TSL2561.h.

uint32_t rgba

24-bit RGBA value

Definition at line 125 of file TSL2561.h.