Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
120:770f00554b1e
Parent:
119:ee6a53069455
Child:
121:ee02790d00b7
--- a/clock.h	Thu Apr 30 15:42:41 2015 +0000
+++ b/clock.h	Mon May 04 17:25:29 2015 +0000
@@ -7,7 +7,14 @@
 #include "mbed.h"
 #include "EthernetInterface.h"
 #include "debug.h"
-#include "locale.h"
+
+const uint16_t EXTERNAL_TIME_REQUEST_WAIT_SECONDS = 300;
+
+const int TIME_MSG_SIZE = 64;
+
+const char CLOCK_SERVER_IP[] = "192.168.120.120";
+
+const int CLOCK_SERVER_PORT = 123;
 
 extern time_t current_time;
 
@@ -17,8 +24,6 @@
 
 extern Timer external_time;
 
-const uint16_t EXTERNAL_TIME_REQUEST_WAIT_SECONDS = 10;//300;
-
 int request_clock_to_server( void );
 
 int check_clock( void );
@@ -32,4 +37,5 @@
 void print_clock ( uint8_t * buffer );
 
 int show_clock ( void );
+
 #endif
\ No newline at end of file