multiplayer pong game for LPC 1768
Dependencies: mbed MbedJSONValue mbed-rtos Adafruit_ST7735 Adafruit_GFX EthernetInterface DebouncedInterrupt
Diff: main.cpp
- Revision:
- 19:58cc5465f647
- Parent:
- 18:32fce82690a1
- Child:
- 22:1c49e1fae846
--- a/main.cpp Sun Nov 15 21:55:35 2020 +0000 +++ b/main.cpp Sun Nov 15 22:45:48 2020 +0000 @@ -39,9 +39,9 @@ } int main() { + initEthernet(ð, &sock, &nist); Graphics *gfx = new Graphics(); - initEthernet(ð, &sock, &nist); - + // attach ISR leftButton.attach(&pressButtonMenu, IRQ_RISE, DEBOUNCE); middleButton.attach(&pressButtonMenu, IRQ_RISE, DEBOUNCE);