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.
Fork of mbed-os-example-ble-Button by
Diff: source/main.cpp
- Revision:
- 5:b630d2a88c51
- Parent:
- 1:cd85f873e10d
- Child:
- 14:014670ad5e18
--- a/source/main.cpp Sat Jul 30 00:00:49 2016 +0100
+++ b/source/main.cpp Tue Aug 02 09:45:20 2016 +0100
@@ -21,7 +21,7 @@
#include "ButtonService.h"
DigitalOut led1(LED1, 1);
-InterruptIn button(BUTTON1);
+InterruptIn button(BLE_BUTTON_PIN_NAME);
static EventQueue eventQueue(
/* event count */ 10 * /* event size */ 32
