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.
Diff: motordriver.h
- Revision:
- 6:c411a45697f6
- Parent:
- 4:5fb1296c0d60
--- a/motordriver.h Thu Nov 25 13:34:15 2010 +0000
+++ b/motordriver.h Fri Jun 14 09:04:03 2019 +0000
@@ -74,6 +74,7 @@
* @return state of motor, -1 to 1 is speed, -2 is braking, 2 is coasting. -3 is error.
*/
float state(void);
+ float direction(void);
protected:
PwmOut _pwm;