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
Revision 0:453a43c8bf2b, committed 2014-03-18
- Comitter:
- karlmaxwell67
- Date:
- Tue Mar 18 09:45:04 2014 +0000
- Child:
- 1:70d7d9f1af01
- Commit message:
- Created library for class TCS3472_I2C for operation of TCS3472 RGB sensor
Changed in this revision
TCS3472_I2C.cpp | Show annotated file Show diff for this revision Revisions of this file |
TCS3472_I2C.h | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TCS3472_I2C.cpp Tue Mar 18 09:45:04 2014 +0000 @@ -0,0 +1,5 @@ +#include TCS3472_I2C.h + +TCS3472_I2C::TCS3472_I2C( PinName sda, PinName scl ) : i2c_( sda, scl ){ + +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TCS3472_I2C.h Tue Mar 18 09:45:04 2014 +0000 @@ -0,0 +1,22 @@ +#ifndef TCS3472_I2C_H +#define TCS3472_I2C_H +#include "mbed.h" + +class TCS3472_I2C { +public: + TCS3472_I2C( PinName sda, PinName scl ); + + + + + +private: + I2C i2c_; + + + + + +}; + +#endif TCS3472_I2C_H \ No newline at end of file