   R_ESC.writeMicroseconds(1500);
   L_ESC.writeMicroseconds(1500);
 
-  pinMode(L_Hall, INPUT);
-  pinMode(R_Hall, INPUT);
+  // pinMode(L_Hall, INPUT);
+  // pinMode(R_Hall, INPUT);
 
   // basic start module: wait 5s after pressing start
   // IMPLEMENT ON/OFF functionality

          attackCount = 0; // clear attack counter
          state = 0;
          pastNear = true;
        } else if ((expectedVelL > getVelL() + hallTimeThresh || expectedVelR > getVelR() + hallTimeThresh) && pastStalled && cur - stalled <= stallThresh) {
          past = 'f';
          state = 1;
          attackCount++; // increment attack counter
          pastNear = true;
        } else if (perLeftDist <= near) {
          //if opponent within near of the left peripheral sensor, spin left
          state = 4;
          past = 'l'; // set past movement to left

const byte RMO = A6;          // right-middle IR distance sensor
const byte RRO = A7;          // right-peripheral IR distance sensor

// const byte L_Hall = 2;        // left Hall sensor
// const byte R_Hall = 3;        // right Hall sensor
const byte startModule = 4;   // remote start module

// Window size of the median filter (odd number, 1 = no filtering)
