diff --git a/main/main.ino b/main/main.ino index 132cd0c251a9e786562a4e2a447ed0905e078c30..586a78a8e2e7c15abe3ae4d5292020c9760afc09 100644 --- a/main/main.ino +++ b/main/main.ino @@ -3,7 +3,7 @@ //General uint8_t regions[2] = {BACKWARD, FORWARD}; uint8_t regions_opposite[2] = {FORWARD, BACKWARD}; -int region = 1; +int region = 0; #define floating_avg_num 3 int button_val = 0; int button_port = 0; @@ -76,18 +76,20 @@ void loop() { Serial.println("Ramp on"); } else { - move_both(motors, 150); + move_both(motors, 255); Serial.println("Else block fml"); /* for(int j = 0; j < 2; j++) { motors[j]->setSpeed(0); } */ + /* for(int j = 0; j < num_IR; j++) { Serial.print(IR_avgs[j]); Serial.print(" -> "); } - Serial.println(); + */ + //Serial.println(); //while (1); } button_val = digitalRead(button_port);