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: mbed Servo ros_lib_kinetic
Diff: Motors/Motor.h
- Revision:
- 3:df6160e2f6d9
- Parent:
- 2:6197e1cf2cd1
- Child:
- 4:36a04230554d
--- a/Motors/Motor.h Thu Oct 24 14:24:27 2019 +0000
+++ b/Motors/Motor.h Thu Oct 24 14:37:51 2019 +0000
@@ -37,6 +37,7 @@
cMotor(PwmOut pwm, DigitalOut fwd, DigitalOut rev); //Constructor, initialised motor pinouts
void Forwards(float speed);
void Backwards(float speed);
+ void Stop();
private:
PwmOut _pwm;
DigitalOut _fwd;