![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork with SeeedStudio Xadow GPS v2 enabled
Dependencies: FXOS8700CQ MODSERIAL XadowGPS mbed
Fork of Avnet_ATT_Cellular_IOT by
Diff: main.cpp
- Revision:
- 64:09004cd610df
- Parent:
- 63:90d7c69993cd
- Child:
- 68:6e311c747045
diff -r 90d7c69993cd -r 09004cd610df main.cpp --- 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