A simple project for sending button input up to AT&T Flow

Dependencies:   FXOS8700CQ MODSERIAL mbed

For instructions on using this program, see the AT&T Starter Kit tutorial on it.

Revision:
56:cb42ff383dab
Parent:
55:3abf9e3f42e6
Child:
59:7ebb9436b2bd
diff -r 3abf9e3f42e6 -r cb42ff383dab main.cpp
--- a/main.cpp	Thu Jul 28 15:52:37 2016 +0000
+++ b/main.cpp	Thu Jul 28 17:21:31 2016 +0000
@@ -40,7 +40,9 @@
 
 #define WNC_WAIT_FOR_AT_CMD_MS 40
 
-Serial         pc(USBTX, USBRX);
+//Serial         pc(USBTX, USBRX);
+MODSERIAL pc(USBTX, USBRX, 256, 256); // tx, rx with default tx, rx buffer sizes
+
 SerialBuffered mdm(PTD3, PTD2, 4096);
 DigitalOut led_green(LED_GREEN);
 DigitalOut led_red(LED_RED);