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-http DebounceIn PinDetect OneButton
Diff: network-helper.h
- Revision:
- 1:1a06bde4e0db
- Parent:
- 0:454abaa26f3c
- Child:
- 2:1d2a43e66b41
diff -r 454abaa26f3c -r 1a06bde4e0db network-helper.h
--- a/network-helper.h Mon Mar 25 19:49:24 2019 +0000
+++ b/network-helper.h Wed Apr 03 11:55:23 2019 +0000
@@ -13,6 +13,7 @@
printf("[NWKH] Connecting to network...\n");
NetworkInterface* network = NetworkInterface::get_default_instance();
+ network->set_network("192.168.1.97","255.255.252.0","192.168.0.1");
if (!network) {
printf("[NWKH] No network interface found, select an interface in 'network-helper.h'\n");