Simple BLE device with LED and Button service, running on IDB04A1 shield.
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of BLE_LED_Button by
Diff: main.cpp
- Revision:
- 13:0326e963b96c
- Parent:
- 12:7eebfdfdd892
--- a/main.cpp Mon May 02 09:09:59 2016 +0000
+++ b/main.cpp Tue May 03 10:20:03 2016 +0000
@@ -24,7 +24,7 @@
DigitalOut alivenessLED(LED1, LED_OFF); // green
DigitalOut actuatedLED(LED2, LED_OFF); // red
-InterruptIn button(BUTTON1);
+InterruptIn button(PC_13);
const static char DEVICE_NAME[] = "MY_BLE_DEVICE";
static const uint16_t uuid16_list[] = {
