|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
|||
|
|||
|
Re: Autonomous limit switch
The coment makes it sound as if you want to swap the motor set and the delay. The code is delaying 2000 ms, then setting the motor and immediately moving on. Put the motor set before or in parallel with the delay.
A while loop is nothing special. It is perfectly valid if you program it correctly and no worse than an incorrectly programmed for loop or other code. Greg McKaskle |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|