Skip to content

Struct SYN_Lux

ClassList > SYN_Lux

Generic Light & Color Sensor Context.

  • #include <syn_lux.h>

Public Attributes

Type Name
uint16_t color_b
uint16_t color_c
uint16_t color_g
uint16_t color_r
uint16_t color_temp_k
SYN_SoftI2C i2c
uint8_t i2c_addr
float illuminance_lux
SYN_LuxType type

Public Attributes Documentation

variable color_b

uint16_t SYN_Lux::color_b;

Raw Blue channel (TCS34725)


variable color_c

uint16_t SYN_Lux::color_c;

Raw Clear channel (TCS34725)


variable color_g

uint16_t SYN_Lux::color_g;

Raw Green channel (TCS34725)


variable color_r

uint16_t SYN_Lux::color_r;

Raw Red channel (TCS34725)


variable color_temp_k

uint16_t SYN_Lux::color_temp_k;

Calculated Correlated Color Temp in Kelvin


variable i2c

SYN_SoftI2C SYN_Lux::i2c;

variable i2c_addr

uint8_t SYN_Lux::i2c_addr;

variable illuminance_lux

float SYN_Lux::illuminance_lux;

Ambient Light in Lux


variable type

SYN_LuxType SYN_Lux::type;


The documentation for this class was generated from the following file src/syntropic/sensor/syn_lux.h