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.
Fork of MotorLib by
Diff: motor.h
- Revision:
- 7:439458133bba
- Parent:
- 6:aec892eb1b49
- Child:
- 8:4dd59b6f4e92
diff -r aec892eb1b49 -r 439458133bba motor.h
--- a/motor.h	Tue Oct 11 22:21:56 2016 +0000
+++ b/motor.h	Thu Mar 09 11:58:10 2017 +0000
@@ -50,6 +50,8 @@
     void Pause();
     void Restart();
     void SetZero();
+    
+    MotorStateList getState();
    
     private:
     void StopMotor();
    