Railway Challenge
/
challenge-ChaiUpdated-AutostopTest-30Throttle
This is a test from 30%Throttle to stop, using full service brake
Diff: main.cpp
- Revision:
- 31:54292fdb96b3
- Parent:
- 30:c65bf90e8f47
- Child:
- 32:771f6d99a77b
--- a/main.cpp Wed Jun 15 15:27:54 2022 +0000 +++ b/main.cpp Wed Jun 15 15:32:46 2022 +0000 @@ -22,10 +22,10 @@ ChallengeMode challenge(autoStopTrigger, dashboard, remote, motor1); Brakes brakes; -int driveMode = 2; // Drive mode - fwd(0), rev(1), park(2) -bool emergencyStopActive = false; +int driveMode = 2;// Drive mode - fwd(0), rev(1), park(2) +bool emergencyStopActive = false; //default state for emergency stop being active -// FUNCTIONS +////////FUNCTIONS //Display Function for data logger void DisplaySerial(){