Railway Challenge
/
challenge
Uncommenting of part that allow supercaps to charge up from the batteries
Diff: main.cpp
- Revision:
- 26:37450381ffe9
- Parent:
- 25:1e42ee248b89
- Child:
- 28:ae88b18b5cb7
--- a/main.cpp Mon Jun 13 09:36:41 2022 +0000 +++ b/main.cpp Mon Jun 13 14:00:13 2022 +0000 @@ -67,8 +67,8 @@ else {//REGEN BRAKING if (challenge.regenBrakingActive == true) { // REGEN BRAKING WITH OVERVOLTAGE SAFETY CHECK if (brakeRate > 0) { - //motor1.setPark(); - motor1.brake(brakeRate); + motor1.setPark(); + //motor1.brake(brakeRate); } else { motor1.setForward();