For use with STM32L746RG . Class which provides functions to control a TAOS TCS3472 Color Light-to-Digital Converter with IR Filter via I2C.
Fork of TCS3472_I2C by
Diff: TCS3472_I2C.h
- Revision:
- 7:ab9ff8738826
- Parent:
- 6:6d5bb4ad7d6e
- Child:
- 8:764a98777c11
diff -r 6d5bb4ad7d6e -r ab9ff8738826 TCS3472_I2C.h --- a/TCS3472_I2C.h Thu Apr 24 09:14:25 2014 +0000 +++ b/TCS3472_I2C.h Sun Apr 30 08:00:52 2017 +0000 @@ -335,6 +335,13 @@ */ char readStatusRegister(); + int calculateColorTemperature(int r, int g, int b); + +float calculateChromaticityX(int r, int g, int b); +float calculateChromaticityY(int r, int g, int b); + +int calculateLux(int r, int g, int b); + private: I2C i2c;