multiplayer pong game for LPC 1768
Dependencies: mbed MbedJSONValue mbed-rtos Adafruit_ST7735 Adafruit_GFX EthernetInterface DebouncedInterrupt
network.h@34:b19f39ad74ac, 2020-11-28 (annotated)
- Committer:
- vsoltan
- Date:
- Sat Nov 28 03:52:32 2020 +0000
- Revision:
- 34:b19f39ad74ac
- Parent:
- 15:9d90f68e53da
- Child:
- 36:46bb54b669bc
issues with reconnecting...
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vsoltan | 15:9d90f68e53da | 1 | |
vsoltan | 15:9d90f68e53da | 2 | #ifndef NETWORK_H |
vsoltan | 15:9d90f68e53da | 3 | #define NETWORK_H |
vsoltan | 11:d0a105f6743f | 4 | |
vsoltan | 11:d0a105f6743f | 5 | #include "EthernetInterface.h" |
vsoltan | 15:9d90f68e53da | 6 | #include "mbed.h" |
vsoltan | 11:d0a105f6743f | 7 | |
vsoltan | 11:d0a105f6743f | 8 | #define AWS_IP "3.128.153.185" |
vsoltan | 11:d0a105f6743f | 9 | #define PORT 3030 |
vsoltan | 11:d0a105f6743f | 10 | |
vsoltan | 11:d0a105f6743f | 11 | void initEthernet(EthernetInterface *eth, UDPSocket *sock, Endpoint *nist); |
vsoltan | 11:d0a105f6743f | 12 | void cleanupEthernet(EthernetInterface *eth, UDPSocket *sock); |
vsoltan | 15:9d90f68e53da | 13 | |
vsoltan | 15:9d90f68e53da | 14 | #endif // NETWORK_H |