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 MODSERIAL FATFileSystem
Diff: LinearActuator/LinearActuator.hpp
- Revision:
- 65:2ac186553959
- Parent:
- 62:d502889e74f1
- Child:
- 73:f6f378311c8d
diff -r a8939bc127ab -r 2ac186553959 LinearActuator/LinearActuator.hpp
--- a/LinearActuator/LinearActuator.hpp	Mon Jun 18 21:04:09 2018 +0000
+++ b/LinearActuator/LinearActuator.hpp	Tue Jun 19 18:10:50 2018 +0000
@@ -69,6 +69,8 @@
     void setPIDHighLimit(float high_limit);
     void setPIDLowLimit(float low_limit);
     
+    bool getHardwareSwitchStatus(); //new
+    
 protected:
     PololuHBridge _motor;
     PosVelFilter _filter;