tsc-color-sensor

gabbapeople/christmas-tree/tsc-color-sensor

Reads color from a tcs34725 color sensor
tsc-color-sensor
@/tsc-color-sensor
Reads color from a tcs34725 color sensor
LEDport
Board port number for the color-sensor breakout board LED
LUMnumber
Luminance (brightness) value in relative units [0.0, 1.0]
ACTboolean
Updates the luminocity of the board LED on incoming value change while `ACT` is true.
ITnumber
Integration time value. Describes a number of cycles to integrate a color value. Possible values are 1, 10, 20, 42, 64, 256
GAINnumber
An amplification factor of the color gain. Possible values are 1, 4, 16, 60
INITpulse
Triggers initialization of the sensor and sets sensitivity
UPDpulse
Update. Triggers new sensor reading.
tsc-color-sensor
LED
LUM
ACT
IT
GAIN
INIT
UPD
CLR
ERR
DONE
DONEpulse
Fires when reading is done
ERRpulse
Fires if reading failed
CLRxod/color/color
To use the node in your project you should have the gabbapeople/christmas-tree library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.