
first commit
Diff: main.cpp
- Revision:
- 13:0091da3021df
- Parent:
- 9:5320c2dfb913
- Child:
- 14:eb9c58c0f8cd
--- a/main.cpp Tue Oct 26 14:02:20 2021 +0000 +++ b/main.cpp Tue Oct 26 14:07:48 2021 +0000 @@ -68,7 +68,7 @@ bt.printf("\n\rMotor enabled ? : %d ", motor_enabled ); bt.printf("\n\rSteering enabled ? : %d ", steering_enabled ); bt.printf("\n\rCurrent duty cycle : %f", current_duty_cycle); - bt.printf("\n\Brake enabled ? : %d ", brakeLeftBool ); + bt.printf("\n\Brake enabled ? : %d ", are_brakes_activated ); bt.printf("\n\rCurrent duty cycle? : %f ", current_duty_cycle ); //wait(0.5); //commented out the wait bc it slows down the fault_check, and it breaks the analogIn readings for the driving input //the driving input ticker is faster than the analog.read() function, so all analog.read() methods must be in the main loop