PingPong
Dependencies: EthernetInterface_pm mbed-rtos mbed
Diff: Configuracoes.h
- Revision:
- 0:c8f056a185d0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Configuracoes.h Thu Mar 27 17:39:23 2014 +0000 @@ -0,0 +1,23 @@ +#define TYPEA //TYPEA == Ping else is Pong +#define MSG "delay 10ms" + +#ifndef TYPEA + //#define EMISSOR 1 + #define PING 1 + #define MEUIP "192.168.3.101" + #define VIZINHO "192.168.3.102" + #define TCPPORT 7890 + #define PORTSEND 1234 +#else + //#define EMISSOR 0 + #define PING 0 + #define MEUIP "192.168.3.102" + #define VIZINHO "192.168.3.101" + #define TCPPORT 7890//1234 + #define PORTSEND 7890 +#endif +#define DELAY 10 +#define DELAYTRY 500 +#define APACHE "192.168.3.100" +#define FINAL 200000 +#define MAXTRIES 10 \ No newline at end of file