tweaked detection to use photoresistor through an opamp

Dependents:   rgb_sensor_buffer

Fork of rgb_sensor by Milosch Meriac

Revision:
9:7bd80f4a965e
Parent:
8:88acb970df76
Child:
10:b95dfd2d6d4d
--- a/rgb_sensor.h	Thu Jul 03 16:52:12 2014 +0000
+++ b/rgb_sensor.h	Thu Jul 03 17:24:41 2014 +0000
@@ -30,6 +30,11 @@
 #define RGB_OVERSAMPLING 32
 #endif/*RGB_OVERSAMPLING*/
 
+#ifndef RGB_SENSOR_IGNORE
+#define RGB_SENSOR_IGNORE (RGB_OVERSAMPLING/2)
+#endif/*RGB_SENSOR_IGNORE*/
+
+
 #ifndef RGB_MAX_ADC_CLK
 #define RGB_MAX_ADC_CLK 6000000UL
 #endif/*RGB_MAX_ADC_CLK*/