Class which provides functions to control a TAOS TCS3472 Color Light-to-Digital Converter with IR Filter via I2C. (Tidied up)
Dependents: openwear-lifelogger-example
Fork of TCS3472_I2C by
Diff: TCS3472_I2C.cpp
- Revision:
- 5:d4cf0fa1a182
- Parent:
- 4:5d1f8d7d81ff
- Child:
- 6:6d5bb4ad7d6e
diff -r 5d1f8d7d81ff -r d4cf0fa1a182 TCS3472_I2C.cpp --- a/TCS3472_I2C.cpp Fri Mar 21 17:38:11 2014 +0000 +++ b/TCS3472_I2C.cpp Wed Apr 16 10:57:46 2014 +0000 @@ -1,7 +1,7 @@ #include "TCS3472_I2C.h" TCS3472_I2C::TCS3472_I2C( PinName sda, PinName scl ) : i2c( sda, scl ){ - i2c.frequency(400000); + i2c.frequency(100000); enablePowerAndRGBC(); }