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

Dependencies:   microbit

Revision:
4:7f5e478f945c
Parent:
3:5567512e8de7
Child:
5:191cc309fe86
--- a/LedMatrix.cpp	Mon Feb 20 15:26:27 2017 +0000
+++ b/LedMatrix.cpp	Mon Feb 20 15:29:07 2017 +0000
@@ -2,7 +2,6 @@
 
 LedMatrix::LedMatrix()
 {
-    //ledMatrix = vector<vector<int> >(5, vector<int>(5, 0));
     for (int i = 0; i < 5; ++i)
     {
         vector<int> temp;
@@ -15,14 +14,6 @@
     }
 }
 
-/*void LedMatrix::setLedMatrix(ManagedString data)
-{
-    int row, col;
-    row = (int)data.charAt(0);
-    col = (int)data.charAt(1);
-    ledMatrix[row][col] == 0 ? ledMatrix[row][col] = 1 : ledMatrix[row][col] = 0;
-}*/
-
 void LedMatrix::setLedMatrix(int row, int col)
 {
     ledMatrix[row][col] = ledMatrix[row][col] == 0 ? 1 : 0;