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 39:2438bf7f2590, committed 2022-11-04
- Comitter:
- edizselay
- Date:
- Fri Nov 04 15:16:36 2022 +0000
- Parent:
- 38:5e9b8e8d1538
- Commit message:
- Test comment in main.cpp
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Nov 04 15:04:02 2022 +0000 +++ b/main.cpp Fri Nov 04 15:16:36 2022 +0000 @@ -10,6 +10,7 @@ #include <sstream> using std::string; +// TEST // SET UP REMOTE CONTROL COMMS SPI remoteControl(PE_14, PE_13, PE_12); // (SPI_MOSI, SPI_MISO, SPI_SCK) DigitalOut remoteControlCS(PE_11); // (SPI_SS) @@ -47,7 +48,7 @@ brakes.RegenControl(brakeRate,motor1); } - else { // MECHANICAL BRAKING + else { // MECHANICAL BRAKING brakes.MechanicalBraking(brakeRate,motor1); // calls mechanical braking } }