|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#2
|
|||||
|
|||||
|
Re: Two limit switches, one button
You could use a state machine (in Teleop or Periodic Tasks) or a sequence (in Periodic Tasks only).
- push button - run up until limit switch is hit and stop - push same button (or a different one) - run down until limit switch is hit and stop If one button, then use a feedback node or shift registers to remember the previous direction. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|