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: simple-mbed-client
Fork of simple-mbed-client-example by
Revision 29:dd6231df71bb, committed 2016-09-06
- Comitter:
- Jan Jongboom
- Date:
- Tue Sep 06 13:38:46 2016 +0200
- Parent:
- 28:f5e41738699d
- Child:
- 30:36236b00a869
- Commit message:
- Override button in config, update mbed-os to latest master, update easy-connect
Changed in this revision
--- a/easy-connect.lib Thu Aug 25 14:39:39 2016 +0200 +++ b/easy-connect.lib Tue Sep 06 13:38:46 2016 +0200 @@ -1,1 +1,1 @@ -https://github.com/armmbed/easy-connect/#5a733bd2750342660d9021bfc9b3583ca8c62668 +https://github.com/armmbed/easy-connect/#0e924fc9504c5fc4425adf30f7ad85a9fe0bf4fd
--- a/main.cpp Thu Aug 25 14:39:39 2016 +0200
+++ b/main.cpp Tue Sep 06 13:38:46 2016 +0200
@@ -8,7 +8,7 @@
DigitalOut led(LED1);
DigitalOut blinkLed(LED2);
-InterruptIn btn(SW2);
+InterruptIn btn(MBED_CONF_APP_BUTTON);
Semaphore updates(0);
void patternUpdated(string v) {
--- a/mbed-os.lib Thu Aug 25 14:39:39 2016 +0200 +++ b/mbed-os.lib Tue Sep 06 13:38:46 2016 +0200 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#d2202045ac8f2fc63836a5b7131c9b56ac58f06a +https://github.com/ARMmbed/mbed-os/#5dcd546fd58644cb35ce28ccc87c634349fd2c5a
--- a/mbed_app.json Thu Aug 25 14:39:39 2016 +0200
+++ b/mbed_app.json Tue Sep 06 13:38:46 2016 +0200
@@ -20,11 +20,24 @@
},
"esp8266-debug": {
"value": true
+ },
+ "button": {
+ "help": "Pin which you'll use as button (can be overriden per target below)",
+ "value": "BUTTON1"
}
},
"target_overrides": {
"*": {
"target.features_add": ["IPV4", "IPV6"]
+ },
+ "K64F": {
+ "button": "SW2"
+ },
+ "HEXIWEAR": {
+ "button": "PTA12"
+ },
+ "NUCLEO_F401RE": {
+ "button": "USER_BUTTON"
}
}
}
