cc3000_ntp_demo_F446RE

Dependencies:   NTPClient2 NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed

Fork of cc3000_ntp_demo by Martin Kojtal

Revision:
4:580582a7ce1a
Parent:
3:4a2dfa38a61e
Child:
5:6d9d149b01cd
--- a/main.cpp	Thu Oct 03 17:32:27 2013 +0200
+++ b/main.cpp	Tue Oct 08 15:20:52 2013 +0000
@@ -67,11 +67,11 @@
  *  \return none
  */
 void connect_to_ssid(char *ssid, char *key, unsigned char sec_mode) {
-    printf("Connecting to SSID: %s. Timeout is 10s.\n",ssid);
+    printf("Connecting to SSID: %s. Timeout is 10s. \r\n",ssid);
     if (wifi.connect_to_AP((uint8_t *)ssid, (uint8_t *)key, sec_mode) == true) {
-        printf(" Connected\n");
+        printf(" Connected. \r\n");
     } else {
-        printf(" Connection timed-out (error). Please restart.\n");
+        printf(" Connection timed-out (error). Please restart. \r\n");
         while(1);
   }
 }
@@ -100,7 +100,7 @@
     user_info.FTC = 1;
     wifi.set_user_file_info((uint8_t *)&user_info, sizeof(user_info));
     wifi._wlan.stop();
-    printf("FTC finished.\n");
+    printf("FTC finished. \r\n");
 }
 
 /**