tweaked detection to use photoresistor through an opamp

Dependents:   rgb_sensor_buffer

Fork of rgb_sensor by Milosch Meriac

Revision:
2:4545984e62b6
Parent:
1:204db97d10c9
Child:
3:50e1ac3c56db
--- a/rgb_sensor.h	Wed Jun 25 14:59:12 2014 +0000
+++ b/rgb_sensor.h	Fri Jun 27 07:21:51 2014 +0000
@@ -22,6 +22,10 @@
  #ifndef __RGB_SENSOR_H__
 #define __RGB_SENSOR_H__
 
+#ifndef RGB_LED_ON
+#define RGB_LED_ON true
+#endif/*RGB_LED_ON*/
+
 #ifndef RGB_OVERSAMPLING
 #define RGB_OVERSAMPLING 128
 #endif/*RGB_OVERSAMPLING*/