tweaked detection to use photoresistor through an opamp

Dependents:   rgb_sensor_buffer

Fork of rgb_sensor by Milosch Meriac

Revision:
10:b95dfd2d6d4d
Parent:
9:7bd80f4a965e
--- a/rgb_sensor.h	Thu Jul 03 17:24:41 2014 +0000
+++ b/rgb_sensor.h	Wed Jul 09 10:27:38 2014 +0000
@@ -22,6 +22,8 @@
 #ifndef __RGB_SENSOR_H__
 #define __RGB_SENSOR_H__
 
+#define RGB_MASK 0xFFF
+
 #ifndef RGB_LED_ON
 #define RGB_LED_ON true
 #endif/*RGB_LED_ON*/