![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
PingPong
Dependencies: EthernetInterface_pm mbed-rtos mbed
Configuracoes.h@1:b343d9cd769a, 2014-03-27 (annotated)
- Committer:
- rebonatto
- Date:
- Thu Mar 27 17:42:00 2014 +0000
- Revision:
- 1:b343d9cd769a
- Parent:
- 0:c8f056a185d0
PingPong para Testar Jose
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rebonatto | 0:c8f056a185d0 | 1 | #define TYPEA //TYPEA == Ping else is Pong |
rebonatto | 0:c8f056a185d0 | 2 | #define MSG "delay 10ms" |
rebonatto | 0:c8f056a185d0 | 3 | |
rebonatto | 0:c8f056a185d0 | 4 | #ifndef TYPEA |
rebonatto | 0:c8f056a185d0 | 5 | //#define EMISSOR 1 |
rebonatto | 0:c8f056a185d0 | 6 | #define PING 1 |
rebonatto | 0:c8f056a185d0 | 7 | #define MEUIP "192.168.3.101" |
rebonatto | 0:c8f056a185d0 | 8 | #define VIZINHO "192.168.3.102" |
rebonatto | 0:c8f056a185d0 | 9 | #define TCPPORT 7890 |
rebonatto | 0:c8f056a185d0 | 10 | #define PORTSEND 1234 |
rebonatto | 0:c8f056a185d0 | 11 | #else |
rebonatto | 0:c8f056a185d0 | 12 | //#define EMISSOR 0 |
rebonatto | 0:c8f056a185d0 | 13 | #define PING 0 |
rebonatto | 0:c8f056a185d0 | 14 | #define MEUIP "192.168.3.102" |
rebonatto | 0:c8f056a185d0 | 15 | #define VIZINHO "192.168.3.101" |
rebonatto | 0:c8f056a185d0 | 16 | #define TCPPORT 7890//1234 |
rebonatto | 0:c8f056a185d0 | 17 | #define PORTSEND 7890 |
rebonatto | 0:c8f056a185d0 | 18 | #endif |
rebonatto | 0:c8f056a185d0 | 19 | #define DELAY 10 |
rebonatto | 0:c8f056a185d0 | 20 | #define DELAYTRY 500 |
rebonatto | 0:c8f056a185d0 | 21 | #define APACHE "192.168.3.100" |
rebonatto | 0:c8f056a185d0 | 22 | #define FINAL 200000 |
rebonatto | 0:c8f056a185d0 | 23 | #define MAXTRIES 10 |