Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ColorDetectorV2 ExternalFlashClient SNICInterface mbed-rtos mbed nsdl
Fork of EnvoyNespressoEndpoint by
Revision 7:b2df16ff5076, committed 2015-06-02
- Comitter:
- bridadan
- Date:
- Tue Jun 02 22:20:02 2015 +0000
- Parent:
- 6:9e3f6270fcb0
- Child:
- 8:7ba790de76bf
- Commit message:
- Updated endpoint to use new ColorDetector version
Changed in this revision
--- a/ColorDetector.lib Tue May 19 19:17:41 2015 +0000 +++ b/ColorDetector.lib Tue Jun 02 22:20:02 2015 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/Nespresso-RGB-Sensor/code/ColorDetector/#a6d6f8f41266 +http://developer.mbed.org/teams/Nespresso-RGB-Sensor/code/ColorDetector/#710031221b4d
--- a/main.cpp Tue May 19 19:17:41 2015 +0000
+++ b/main.cpp Tue Jun 02 22:20:02 2015 +0000
@@ -5,6 +5,7 @@
#include "GroveColourSensor.h"
#include "ColorDetector.h"
#include "color_detector.h"
+#include <cmath>
Serial pc(USBTX, USBRX); // tx, rx
@@ -132,7 +133,7 @@
colorSensor.setBlockRead();
// Create color detector
- ColorDetector detector(&colorSensor, 70, 64);
+ ColorDetector detector(&colorSensor, 45, 10, 3, 256);
detector.setBaseline();
// Pass reference to color detector
--- a/mbed-rtos.lib Tue May 19 19:17:41 2015 +0000 +++ b/mbed-rtos.lib Tue Jun 02 22:20:02 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed-rtos/#83895f30f8f2 +http://mbed.org/users/mbed_official/code/mbed-rtos/#2db19f47c2ba
