Exemplo (Nucleo_BLE_HeartRate) X-NUCLEO-IDB04A1

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 mbed

Files at this revision

API Documentation at this revision

Comitter:
wlmattos
Date:
Fri Sep 02 21:51:39 2016 +0000
Commit message:
Exemplo

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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BLE_API.lib	Fri Sep 02 21:51:39 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#d494ad3e87bd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/X_NUCLEO_IDB0XA1.lib	Fri Sep 02 21:51:39 2016 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/ST/code/X_NUCLEO_IDB0XA1/#46ae62a90136
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Sep 02 21:51:39 2016 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+ 
+SPI device(SPI_MOSI, SPI_MISO, SPI_SCK);
+ 
+int main() {
+    int i = 0;
+    while(1) {
+        device.write(0x55);
+        device.write(i++);
+        device.write(0xE0);
+        wait_us(50);
+    }
+}
+ 
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Sep 02 21:51:39 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/2e9cc70d1897
\ No newline at end of file