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 Jan Jongboom

Files at this revision

API Documentation at this revision

Comitter:
janjongboom
Date:
Tue May 03 10:20:03 2016 +0000
Parent:
12:7eebfdfdd892
Commit message:
Change to use Nucleo libraries

Changed in this revision

BLE_API.lib Show annotated file Show diff for this revision Revisions of this file
X_NUCLEO_IDB0XA1.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
nRF51822.lib Show diff for this revision Revisions of this file
diff -r 7eebfdfdd892 -r 0326e963b96c BLE_API.lib
--- a/BLE_API.lib	Mon May 02 09:09:59 2016 +0000
+++ b/BLE_API.lib	Tue May 03 10:20:03 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#bfc5b9b6ecf5
+http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#66159681aa21
diff -r 7eebfdfdd892 -r 0326e963b96c X_NUCLEO_IDB0XA1.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/X_NUCLEO_IDB0XA1.lib	Tue May 03 10:20:03 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/ST/code/X_NUCLEO_IDB0XA1/#e8fa3129410a
diff -r 7eebfdfdd892 -r 0326e963b96c main.cpp
--- 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[] = { 
diff -r 7eebfdfdd892 -r 0326e963b96c nRF51822.lib
--- a/nRF51822.lib	Mon May 02 09:09:59 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#3cc0718d98d0