An example using the DAL's radio module that sends and recieves messages to let you know when someone is nearby. This is a one-way translation of the microbit-samples repository on GitHub. Please don't try to push changes here, instead push them to the source repo at https://github.com/lancaster-university/microbit-samples
--- a/main.cpp Wed Jul 13 16:05:11 2016 +0100 +++ b/main.cpp Fri Jul 22 17:52:54 2016 +0100 @@ -41,7 +41,7 @@ #include "MicroBit.h" #if MICROBIT_BLE_ENABLED - #ifdef(YOTTA_CFG) + #ifdef YOTTA_CFG #error "This example needs BLE to be disabled. Use the yotta config.json in the proximit-heart directory to do this" #else #error "This example needs BLE to be disabled in the microbit config file in the microbit-dal: MicroBitConfig.h"