Rachel Ireland-Jones / Mbed OS FinalYear0
Revision:
29:3284cda80b4a
Parent:
28:b650e7f6c269
Child:
30:9aeca82187f5
diff -r b650e7f6c269 -r 3284cda80b4a main.cpp
--- a/main.cpp	Thu Dec 19 12:59:48 2019 +0000
+++ b/main.cpp	Thu Dec 19 13:37:34 2019 +0000
@@ -161,7 +161,7 @@
 void turn() // this sets the weheel speed to roughly what is needed to make the turn so that the program doesnt have to make any major adjustments
 {
     dutyA = 0.556f;
-    dutyB = 0.27f;
+    dutyB = 0.3f;
     PWMA.write(dutyA);          //Set duty cycle (%)
     PWMB.write(dutyB);
 }