Struct 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¶
Raw Blue channel (TCS34725)
variable color_c¶
Raw Clear channel (TCS34725)
variable color_g¶
Raw Green channel (TCS34725)
variable color_r¶
Raw Red channel (TCS34725)
variable color_temp_k¶
Calculated Correlated Color Temp in Kelvin
variable i2c¶
variable i2c_addr¶
variable illuminance_lux¶
Ambient Light in Lux
variable type¶
The documentation for this class was generated from the following file src/syntropic/sensor/syn_lux.h