Railway Challenge
/
challenge-ChaiUpdated-AutostopTest-30Throttle
This is a test from 30%Throttle to stop, using full service brake
Diff: main.cpp
- Revision:
- 9:d1998035418b
- Parent:
- 8:0fe9f7bde2f9
- Child:
- 10:8415866239cc
diff -r 0fe9f7bde2f9 -r d1998035418b main.cpp --- a/main.cpp Wed Apr 20 15:50:23 2022 +0000 +++ b/main.cpp Wed Apr 20 15:55:43 2022 +0000 @@ -45,7 +45,7 @@ motor1.throttle(0); //Disengage motor - motor1.disengage(); + motor1.setPark(); //Setting brakes to high brakeValve32 = 0;//(PF_2)