Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: millis
Diff: brakes.h
- Revision:
- 28:1086791972d0
- Child:
- 30:c65bf90e8f47
diff -r 5f801d4ca461 -r 1086791972d0 brakes.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/brakes.h Wed Jun 15 13:36:11 2022 +0000
@@ -0,0 +1,15 @@
+#include <mbed.h>
+#include "motor.h"
+#include "definitions.h"
+class Brakes{
+ public:
+ Brakes();
+
+ void ParkMode();
+ void BrakesOn();
+ void FrontBrakeOn();
+ void RearBrakeOn();
+ void MechanicalBraking(int brakeRate, Motor motor);
+ void RegenControl(int ratecontrol, Motor motor);
+ };
+
\ No newline at end of file