Railway Challenge
/
challenge
Uncommenting of part that allow supercaps to charge up from the batteries
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)