Median filtered & triggered + buffered RGB readings

Dependencies:   mbed rgb_sensor_buffer

Files at this revision

API Documentation at this revision

Comitter:
meriac
Date:
Tue Jul 08 16:07:50 2014 +0000
Parent:
6:3f5ea82fdf62
Commit message:
Reduce detection treshold to increase detection likelihood

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
rgb_sensor_buffer.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Jul 03 18:02:00 2014 +0000
+++ b/main.cpp	Tue Jul 08 16:07:50 2014 +0000
@@ -22,7 +22,9 @@
 #include <mbed.h>
 #include "rgb_sensor_buffer.h"
 
-#define RGB_TRESHOLD 250
+#define DEBUG
+
+#define RGB_TRESHOLD 220
 #define COUNT(x) (sizeof(x)/sizeof(x[0]))
 #define RGB_VALUES 512
 
--- a/rgb_sensor_buffer.lib	Thu Jul 03 18:02:00 2014 +0000
+++ b/rgb_sensor_buffer.lib	Tue Jul 08 16:07:50 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/meriac/code/rgb_sensor_buffer/#e9a22327d9ad
+http://mbed.org/users/meriac/code/rgb_sensor_buffer/#8fbb1cd0c2d9