Initial

Dependencies:   BLE_API mbed nRF51822

Files at this revision

API Documentation at this revision

Comitter:
jaybeavers
Date:
Sat Mar 19 02:28:15 2016 +0000
Commit message:
Initial

Changed in this revision

BLE_API.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
nRF51822.lib 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	Sat Mar 19 02:28:15 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#ff83f0020480
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Mar 19 02:28:15 2016 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+
+DigitalOut greenLED(P0_22);
+DigitalOut blueled(P0_23);
+
+int main() {
+    while(1) {
+        greenLED = 0; // LED is ON
+        wait(0.2); // 200 ms
+        greenLED = 1; // LED is OFF
+        wait(1.0); // 1 sec
+        blueled = 0; // LED is ON
+        wait(0.2); // 200 ms
+        blueled = 1; // LED is OFF
+        wait(1.0); // 1 sec
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Mar 19 02:28:15 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/c0f6e94411f5
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nRF51822.lib	Sat Mar 19 02:28:15 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#1751e2e2637a