Library which provides functions to control a TAOS TSL2561 Light-To-Digital Converter via I2C.

Dependents:   TweetTest NetworkThermometer GR-PEACH_TAMORI mDot_LoRa_Connect_ABPA_Lux ... more

Committer:
karlmaxwell67
Date:
Tue Mar 18 09:45:04 2014 +0000
Revision:
0:453a43c8bf2b
Child:
1:70d7d9f1af01
Created library for class TCS3472_I2C for operation of TCS3472 RGB sensor

Who changed what in which revision?

UserRevisionLine numberNew contents of line
karlmaxwell67 0:453a43c8bf2b 1 #ifndef TCS3472_I2C_H
karlmaxwell67 0:453a43c8bf2b 2 #define TCS3472_I2C_H
karlmaxwell67 0:453a43c8bf2b 3 #include "mbed.h"
karlmaxwell67 0:453a43c8bf2b 4
karlmaxwell67 0:453a43c8bf2b 5 class TCS3472_I2C {
karlmaxwell67 0:453a43c8bf2b 6 public:
karlmaxwell67 0:453a43c8bf2b 7 TCS3472_I2C( PinName sda, PinName scl );
karlmaxwell67 0:453a43c8bf2b 8
karlmaxwell67 0:453a43c8bf2b 9
karlmaxwell67 0:453a43c8bf2b 10
karlmaxwell67 0:453a43c8bf2b 11
karlmaxwell67 0:453a43c8bf2b 12
karlmaxwell67 0:453a43c8bf2b 13 private:
karlmaxwell67 0:453a43c8bf2b 14 I2C i2c_;
karlmaxwell67 0:453a43c8bf2b 15
karlmaxwell67 0:453a43c8bf2b 16
karlmaxwell67 0:453a43c8bf2b 17
karlmaxwell67 0:453a43c8bf2b 18
karlmaxwell67 0:453a43c8bf2b 19
karlmaxwell67 0:453a43c8bf2b 20 };
karlmaxwell67 0:453a43c8bf2b 21
karlmaxwell67 0:453a43c8bf2b 22 #endif TCS3472_I2C_H