Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Revision:
31:9b71b44e0867
Parent:
30:11f4316a5ba7
Child:
32:69acb14778ea
--- a/main.h	Wed May 24 02:40:36 2017 +0000
+++ b/main.h	Wed May 24 21:47:21 2017 +0000
@@ -111,7 +111,7 @@
 
 stack< pair<int, int> > cellsToVisit;
 
-int currDir = 102;              // modulo this to keep track of the current direction of the mouse!
+int currDir = 100;              // modulo this to keep track of the current direction of the mouse!
 // 0 = forward, 1 = right, 2 = down, 3 = left
 int wallArray[16][16] = {0};    // array to keep track of the walls
 int visitedCells[16][16] = {0};     // array to keep track of the mouse's current location