tweaked detection to use photoresistor through an opamp

Dependents:   rgb_sensor_buffer

Fork of rgb_sensor by Milosch Meriac

Revision:
6:fc64a14a2f4a
Parent:
5:1fed2b68e661
Child:
7:0d35392230be
--- a/rgb_sensor.h	Sat Jun 28 06:59:51 2014 +0000
+++ b/rgb_sensor.h	Sat Jun 28 16:02:24 2014 +0000
@@ -27,7 +27,7 @@
 #endif/*RGB_LED_ON*/
 
 #ifndef RGB_OVERSAMPLING
-#define RGB_OVERSAMPLING 128
+#define RGB_OVERSAMPLING 1024
 #endif/*RGB_OVERSAMPLING*/
 
 #ifndef RGB_MAX_ADC_CLK