 #include <Pushbutton.h>
 #include <ZumoMotors.h>
 #include <PLabBTSerial.h>
+#include <EEPROM.h>
 
 
 ZumoReflectanceSensorArray reflectanceSensors(QTR_NO_EMITTER_PIN);


void setBluetoothProgram() {
  if (!useBt) {
    Serial.println("We are not using bluetooth");
    random(2, 500);
    random(1, 4000);
    int nr = random(1, 399);
    Serial.println(nr);
    if (nr < 200) {
      useRightProgram = true;
      Serial.println("Using right prog, setting led high");
      digitalWrite(yellowLedPin, HIGH);
    } else {
      Serial.println("Using left prog, setting led low");
      useRightProgram = false;
      digitalWrite(yellowLedPin, LOW);
    }
    return;
  }

  Serial.begin(9600);
  btSerial.begin(9600);
  reflectanceSensors.init();
  Serial.println("Starting master crusher");
  setBluetoothProgram();
  button.waitForButton();
