example for using the rgb_color_sensor class

Dependencies:   mbed rgb_sensor

Revision:
6:236bee733ec3
Parent:
5:1b0f9427be32
--- a/main.cpp	Sat Jun 28 07:08:00 2014 +0000
+++ b/main.cpp	Sat Jun 28 16:03:26 2014 +0000
@@ -23,7 +23,7 @@
 #include "rgb_sensor.h"
 
 #define COUNT(x) (sizeof(x)/sizeof(x[0]))
-#define RGB_VALUES 500
+#define RGB_VALUES 250
 
 /* serial console */
 static uint32_t g_buffer_pos;