Versão limpa em 04/09/2014. Telnet funcionando.

Dependencies:   EthernetInterface mbed-rtos mbed NTPClient

Revision:
26:7e215fc0c118
Parent:
25:e64a10acfd41
Child:
29:fcfcb31a6362
diff -r e64a10acfd41 -r 7e215fc0c118 main.cpp
--- a/main.cpp	Fri Mar 27 16:27:55 2015 +0000
+++ b/main.cpp	Fri Mar 27 20:37:41 2015 +0000
@@ -35,6 +35,8 @@
 
 #include "PmedLog.h"
 
+#include "NTPClient.h"
+
 //__attribute((section("AHBSRAM0"),aligned)) char LargeBuffer[1024]; 
 EthernetInterface eth;
 
@@ -160,6 +162,8 @@
     time_t tempo = time(NULL);
     if ((tempo+60) < 1420077600) set_time(1420077600);
     
+    ntpClient.setTime("192.168.103.101");
+    
     DisplayRAMBanks();
     
     /*