From d5d8b1c4590b5ff682517f7565a80b4eb11f301b Mon Sep 17 00:00:00 2001
From: ayush1301 <ayush.ag1301@gmail.com>
Date: Fri, 22 Oct 2021 12:15:43 +0100
Subject: [PATCH] Running backwards or not lmao

---
 main/main.ino | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/main/main.ino b/main/main.ino
index 132cd0c..586a78a 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);
-- 
GitLab