Sends compass and accelerometer data, receives data and displays on LED matrix

Dependencies:   microbit

Revision:
5:191cc309fe86
Parent:
4:7f5e478f945c
--- a/LedMatrix.cpp	Mon Feb 20 15:29:07 2017 +0000
+++ b/LedMatrix.cpp	Mon Feb 20 15:46:10 2017 +0000
@@ -40,5 +40,7 @@
         }
     }
     MicroBitImage matrixImage(ledStatus);
+    delete ledStatus;
+    ledStatus = NULL;
     return matrixImage;
 }
\ No newline at end of file