updated to bool
This commit is contained in:
@@ -196,12 +196,12 @@
|
||||
<a name="l00181"></a>00181 <span class="comment"> /// fequently as possible, but at least once per minimum step interval,</span>
|
||||
<a name="l00182"></a>00182 <span class="comment"> /// preferably in your main loop.</span>
|
||||
<a name="l00183"></a>00183 <span class="comment"> /// \return true if the motor is at the target position.</span>
|
||||
<a name="l00184"></a>00184 <span class="comment"></span> <span class="keywordtype">boolean</span> <a class="code" href="classAccelStepper.html#608b2395b64ac15451d16d0371fe13ce">run</a>();
|
||||
<a name="l00184"></a>00184 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classAccelStepper.html#608b2395b64ac15451d16d0371fe13ce">run</a>();
|
||||
<a name="l00185"></a>00185 <span class="comment"></span>
|
||||
<a name="l00186"></a>00186 <span class="comment"> /// Poll the motor and step it if a step is due, implmenting a constant</span>
|
||||
<a name="l00187"></a>00187 <span class="comment"> /// speed as set by the most recent call to setSpeed().</span>
|
||||
<a name="l00188"></a>00188 <span class="comment"> /// \return true if the motor was stepped.</span>
|
||||
<a name="l00189"></a>00189 <span class="comment"></span> <span class="keywordtype">boolean</span> <a class="code" href="classAccelStepper.html#a4a6bdf99f698284faaeb5542b0b7514">runSpeed</a>();
|
||||
<a name="l00189"></a>00189 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classAccelStepper.html#a4a6bdf99f698284faaeb5542b0b7514">runSpeed</a>();
|
||||
<a name="l00190"></a>00190 <span class="comment"></span>
|
||||
<a name="l00191"></a>00191 <span class="comment"> /// Sets the maximum permitted speed. the run() function will accelerate</span>
|
||||
<a name="l00192"></a>00192 <span class="comment"> /// up to the speed set by this function.</span>
|
||||
@@ -257,7 +257,7 @@
|
||||
<a name="l00242"></a>00242 <span class="comment"></span>
|
||||
<a name="l00243"></a>00243 <span class="comment"> /// Runs at the currently selected speed until the target position is reached</span>
|
||||
<a name="l00244"></a>00244 <span class="comment"> /// Does not implement accelerations.</span>
|
||||
<a name="l00245"></a>00245 <span class="comment"></span> <span class="keywordtype">boolean</span> <a class="code" href="classAccelStepper.html#9270d20336e76ac1fd5bcd5b9c34f301">runSpeedToPosition</a>();
|
||||
<a name="l00245"></a>00245 <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classAccelStepper.html#9270d20336e76ac1fd5bcd5b9c34f301">runSpeedToPosition</a>();
|
||||
<a name="l00246"></a>00246 <span class="comment"></span>
|
||||
<a name="l00247"></a>00247 <span class="comment"> /// Moves the motor to the new target position and blocks until it is at</span>
|
||||
<a name="l00248"></a>00248 <span class="comment"> /// position. Dont use this in event loops, since it blocks.</span>
|
||||
|
||||
Reference in New Issue
Block a user