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: main.cpp
- Revision:
- 39:2438bf7f2590
- Parent:
- 36:af4fb5f4988a
--- 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
}
}