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:
- 74:d281aaef9766
- Parent:
- 73:f6f378311c8d
--- a/LinearActuator/LinearActuator.hpp	Mon Jul 30 16:48:48 2018 +0000
+++ b/LinearActuator/LinearActuator.hpp	Tue Aug 14 21:06:48 2018 +0000
@@ -20,8 +20,7 @@
     // functions for setting up
     void init();
     void update();
-    void start();
-    void stop();
+    // start and stop were removed, legacy functionality (one ticker runs clocks now)
     void pause();
     void unpause();  
     
@@ -56,7 +55,7 @@
     float getPotSlope();
     
     void homePiston();
-    bool getSwitch();
+    bool getSwitch();       //get state of limit switch
     
     float getOutput();