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.
brakes.h@6:d0ba4c659e9c, 2022-04-13 (annotated)
- Committer:
- cdevarakonda
- Date:
- Wed Apr 13 12:39:00 2022 +0000
- Revision:
- 6:d0ba4c659e9c
Added braking in emergency stop function and edited out redundancy in setPArk
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cdevarakonda | 6:d0ba4c659e9c | 1 | #ifndef BRAKES_H |
cdevarakonda | 6:d0ba4c659e9c | 2 | #define BRAKES_H |
cdevarakonda | 6:d0ba4c659e9c | 3 | |
cdevarakonda | 6:d0ba4c659e9c | 4 | #include <mbed.h> |
cdevarakonda | 6:d0ba4c659e9c | 5 | #include "definitions.h" |
cdevarakonda | 6:d0ba4c659e9c | 6 | #include "remoteControl.h" |
cdevarakonda | 6:d0ba4c659e9c | 7 | #include "dashboard.h" |
cdevarakonda | 6:d0ba4c659e9c | 8 | #include "rtc.h" |
cdevarakonda | 6:d0ba4c659e9c | 9 | #include "motor.h" |
cdevarakonda | 6:d0ba4c659e9c | 10 | #include "challenge.h" |
cdevarakonda | 6:d0ba4c659e9c | 11 | |
cdevarakonda | 6:d0ba4c659e9c | 12 | class Brakes |
cdevarakonda | 6:d0ba4c659e9c | 13 | { |
cdevarakonda | 6:d0ba4c659e9c | 14 | public: |
cdevarakonda | 6:d0ba4c659e9c | 15 | void brakeControl(int brakeRate) |
cdevarakonda | 6:d0ba4c659e9c | 16 | }; |