This is the library to use the TCS3200 on the mbed

Dependents:   ovvioBug ovvioBug my_example_TCS3200 Ex_TCS3200 ... more

Revision:
0:6962dbee8f4b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/color.h	Fri Oct 23 15:39:06 2015 +0000
@@ -0,0 +1,30 @@
+
+class ColorSensor{
+    public:
+    ColorSensor(PinName ss0, PinName ss1, PinName ss2, PinName ss3, PinName sout);
+        DigitalOut s0;
+    DigitalOut s1;
+    DigitalOut s2;
+    DigitalOut s3;
+    InterruptIn _out;
+    Ticker ts;
+    void poll();
+    int interrupted;
+    int countR;
+    int countG;
+    int countB;
+    int counter;
+    int flag;
+    int getRed();
+    int getGreen();
+    int getBlue();
+    void getReading();
+    void incCount();
+
+    private: 
+    
+
+    protected:
+    
+    
+    };
\ No newline at end of file