Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
74:81c47fff88a5
Child:
75:bd3c647b860b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/shared_variables.cpp	Mon Nov 24 16:43:16 2014 +0000
@@ -0,0 +1,65 @@
+#include "shared_variables.h"
+
+bool from_eth = false;
+
+bool tcp_session = false;
+
+bool reset_cks = false;
+
+TCPSocketServer tcp_server;
+
+TCPSocketConnection tcp_client;
+
+Timer tcp_timer;
+
+Timer udp_timer;
+
+uint8_t debug_alive = 0;
+
+UDPSocket udp_server;
+
+Endpoint udp_client;
+
+uint8_t pcks_s = 0;
+
+bool list = false;
+
+bool r_stats;
+
+bool rx = false;
+
+bool tx = false;
+
+bool stats = false;
+
+uint16_t boot_counter = 0; 
+
+uint16_t registry_counter = 0; 
+
+uint16_t invite_counter = 0; 
+
+uint16_t audio_counter = 0; 
+
+uint16_t telemetry_counter = 0; 
+
+uint16_t cb_bye_counter = 0; 
+
+uint16_t prompt_counter = 0; 
+
+uint16_t flood_counter = 0; 
+
+uint16_t bootloader_cbx_counter = 0;
+
+uint8_t pshowcb = 0;
+
+Serial pc (USBTX,USBRX);
+
+DigitalOut led1(LED1);
+
+DigitalOut led2(LED2);
+
+DigitalOut led3(LED3);
+
+DigitalOut led4(LED4);
+
+DigitalOut CAB_LED(p24);
\ No newline at end of file