cc3000_ntp_demo_F446RE
Dependencies: NTPClient2 NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed
Fork of cc3000_ntp_demo by
Revision 4:580582a7ce1a, committed 2013-10-08
- Comitter:
- Kojto
- Date:
- Tue Oct 08 15:20:52 2013 +0000
- Parent:
- 3:4a2dfa38a61e
- Child:
- 5:6d9d149b01cd
- Commit message:
- Update host driver to rev 35
Changed in this revision
cc3000_hostdriver_mbedsocket.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/cc3000_hostdriver_mbedsocket.lib Thu Oct 03 17:32:27 2013 +0200 +++ b/cc3000_hostdriver_mbedsocket.lib Tue Oct 08 15:20:52 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/Kojto/code/cc3000_hostdriver_mbedsocket/#9fdf8b4e41bf +http://mbed.org/users/Kojto/code/cc3000_hostdriver_mbedsocket/#9dd909fb7caf
--- 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"); } /**