Arduboy lib for NRF and mbed

Dependencies:   Adafruit_GFX

Revision:
0:2b6d7af79c9c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Dec 27 11:27:14 2016 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+#include "core.h"
+
+DigitalOut led1(LED1);
+
+// main() runs in its own thread in the OS
+// (note the calls to Thread::wait below for delays)
+int main() {
+    
+    Arduboy arduboy; 
+    
+    while (true) {
+        led1 = !led1;
+        Thread::wait(500);
+    }
+}
+