FRDM-K64F, Avnet M14A2A, Grove Shield, to create smart home system. In use with AT&Ts M2x & Flow.
Dependencies: mbed FXOS8700CQ MODSERIAL
Diff: main.cpp
- Revision:
- 64:09004cd610df
- Parent:
- 63:90d7c69993cd
- Child:
- 68:6e311c747045
--- a/main.cpp Mon Aug 01 20:19:58 2016 +0000 +++ b/main.cpp Mon Aug 01 23:32:55 2016 +0000 @@ -116,7 +116,7 @@ if ((beginquote != 0)) { char cLedColor = beginquote[strlen(token)]; - printf(GRN "LED Found : %c" DEF "\r\n", cLedColor); + PRINTF(GRN "LED Found : %c" DEF "\r\n", cLedColor); switch(cLedColor) { case 'O': @@ -176,7 +176,7 @@ static unsigned ledOnce = 0; pc.baud(115200); - pc.printf(GRN "Hello World from the Cellular IoT Kit!\r\n\r\n"); + PRINTF(GRN "Hello World from the Cellular IoT Kit!\r\n\r\n"); //Initialize the I2C sensors that are present sensors_init(); @@ -185,7 +185,7 @@ // Set LED to RED until init finishes SetLedColor(0x1); //Red // Initialize the modem - pc.printf("\r\n"); + PRINTF("\r\n"); cell_modem_init(); // Set LED BLUE for partial init SetLedColor(0x4); //Blue