A program for the BBC MicroBit that displays temperature and compass headings.

Dependencies:   microbit

Files at this revision

API Documentation at this revision

Comitter:
daw9000
Date:
Sun Aug 14 12:02:24 2016 +0000
Parent:
5:2314ad5e8997
Commit message:
#2

Changed in this revision

source/main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 2314ad5e8997 -r 68e29cbd2696 source/main.cpp
--- a/source/main.cpp	Mon Jul 25 15:21:22 2016 +0000
+++ b/source/main.cpp	Sun Aug 14 12:02:24 2016 +0000
@@ -91,7 +91,9 @@
     MicroBitImage NW("255,0,0\n,0,255,0\n,0,0,255\n");
     MicroBitImage NWN("0,255,0\n,0,255,0\n,0,0,255\n");
     
+   
 
+     
 void onButton(MicroBitEvent e)
     {
         if (e.source == MICROBIT_ID_BUTTON_A and e.value == MICROBIT_BUTTON_EVT_CLICK)
@@ -201,6 +203,9 @@
         return mcompassRef;
 }
         
+
+
+
 int main(void)
 {
     // Initialise the micro:bit runtime.