Samples of how to use the micro:bit DAL with mbed. This is a hg clone of the real git repo that can be found here: https://github.com/lancaster-university/microbit-samples

Dependencies:   microbit

Fork of microbit-samples by Lancaster University

Revision:
6:f7b47ff795e0
Parent:
2:5b2cd31ac474
--- a/source/HelloWorld.cpp	Fri Apr 08 16:49:20 2016 +0000
+++ b/source/HelloWorld.cpp	Fri Apr 08 18:35:41 2016 +0100
@@ -24,6 +24,9 @@
 */
 
 #include "MicroBit.h"
+#include "MicroBitSamples.h"
+
+#ifdef MICROBIT_SAMPLE_HELLO_WORLD
 
 MicroBit uBit;
 
@@ -40,3 +43,5 @@
     // sit in the idle task forever, in a power efficient sleep.
     release_fiber();
 }
+
+#endif