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
Revision 25:1e42ee248b89, committed 2022-06-13
- Comitter:
- cdevarakonda
- Date:
- Mon Jun 13 09:36:41 2022 +0000
- Parent:
- 24:15239fb901b0
- Child:
- 26:6275acef6bfd
- Commit message:
- Regen Braking enabled
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Jun 13 09:35:46 2022 +0000
+++ b/main.cpp Mon Jun 13 09:36:41 2022 +0000
@@ -67,6 +67,7 @@
else {//REGEN BRAKING
if (challenge.regenBrakingActive == true) { // REGEN BRAKING WITH OVERVOLTAGE SAFETY CHECK
if (brakeRate > 0) {
+ //motor1.setPark();
motor1.brake(brakeRate);
}
else {