Curtis Sellier / Mbed 2 deprecated Project_Car_Curtis_Non_Tested

Dependencies:   Servo mbed

Files at this revision

API Documentation at this revision

Comitter:
csellier
Date:
Tue Oct 11 22:04:14 2016 +0000
Parent:
4:c1f9aaf55e8b
Child:
6:550027985c6c
Commit message:
update;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Oct 11 14:22:18 2016 +0000
+++ b/main.cpp	Tue Oct 11 22:04:14 2016 +0000
@@ -42,7 +42,7 @@
     
     if (front > DISTANCE) {
         if (left > DISTANCE) {
-            ServoRight.write(0.5);
+            ServoRight.write(0.5);   //turn right
             ServoLeft.write(0.4);
         } else {
             // turn left