Sample program illustrating the use of the GroveEarbudSensor library

Dependencies:   GroveEarbudSensor mbed

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Fri Sep 26 02:39:13 2014 +0000
Parent:
3:fa128b40e2e0
Child:
5:f1b55ff3cda0
Commit message:
switched to BufferedSerial

Changed in this revision

BufferedSerial.lib Show annotated file Show diff for this revision Revisions of this file
GroveEarbudSensor.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BufferedSerial.lib	Fri Sep 26 02:39:13 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/sam_grove/code/BufferedSerial/#8287e83943f0
--- a/GroveEarbudSensor.lib	Thu Sep 25 22:14:41 2014 +0000
+++ b/GroveEarbudSensor.lib	Fri Sep 26 02:39:13 2014 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/ansond/code/GroveEarbudSensor/#6d5410cdd47d
+http://developer.mbed.org/users/ansond/code/GroveEarbudSensor/#56720730382d
--- a/main.cpp	Thu Sep 25 22:14:41 2014 +0000
+++ b/main.cpp	Fri Sep 26 02:39:13 2014 +0000
@@ -21,7 +21,8 @@
 #include "mbed.h"
 
 // Console
-Serial pc(USBTX,USBRX);
+#include "BufferedSerial.h"
+BufferedSerial pc(USBTX,USBRX);
 
 // Blinky
 DigitalOut led(LED1);