     leftSpeed[i] = analogRead(lSpeed);
     rightSpeed[i] = analogRead(rSpeed);
 
-    digitalWrite(select, HIGH);
+    digitalWrite(lSelect, HIGH);
   }
 
   for (int i = 0; i < 11; i ++)

const int leftDir = 18;
const int lSpeed = A9;

const int led = 78;

const int lSelect = 67;
const int rSelect = 75;

  pinMode(leftDir, INPUT);
  pinMode(lSpeed, INPUT);

  pinMode(lSelect, OUTPUT);
  digitalWrite(lSelect, HIGH);
}

void loop() 
