![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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:
- 77:c65eae5b9958
- Parent:
- 72:b500e1507b5f
- Child:
- 84:fc8c9b39723a
--- a/main.cpp Sat Aug 13 18:29:56 2016 +0000 +++ b/main.cpp Mon Aug 15 19:31:14 2016 +0000 @@ -66,6 +66,11 @@ .GPS_Course = "0" }; +void display_app_firmware_version(void) +{ + PUTS("\r\n\r\nApp Firmware: Release 1.0 - built: "__DATE__" "__TIME__"\r\n\r\n"); +} + void GenerateModemString(char * modem_string) { switch(iSensorsToReport) @@ -203,8 +208,11 @@ int main() { static unsigned ledOnce = 0; //delay so that the debug terminal can open after power-on reset: - wait (4.0); + wait (5.0); pc.baud(115200); + + display_app_firmware_version(); + PRINTF(GRN "Hello World from the Cellular IoT Kit!\r\n\r\n"); //Initialize the I2C sensors that are present @@ -216,6 +224,8 @@ // Initialize the modem PRINTF("\r\n"); cell_modem_init(); + display_wnc_firmware_rev(); + // Set LED BLUE for partial init SetLedColor(0x4); //Blue