Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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);
