|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
Re: Timed Button
I'd suggest using a periodic loop for this. In the loop, check the button and wire to a switch. In the True case of the switch, turn on the motor, delay for the right amount of time, and set the motor speed to zero. Then return to scanning the button. To sequence the motor on/delay/motor off, you can use a dataflow dependency or a sequence structure.
As with the other periodic loop, put a delay in it to read the joystick at 50Hz or so. Greg McKaskle |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Button input? | RyanCool435 | Programming | 3 | 31-01-2009 08:57 |
| Capture webcamera images at timed intervals? | NoodleKnight | IT / Communications | 7 | 12-09-2004 03:42 |
| Button Making | PureMachine4 | Rumor Mill | 58 | 16-04-2004 16:00 |
| Triping Timed Fuses | Joe Canavan | Electrical | 2 | 21-02-2002 09:34 |
| Button Bar | Adrian Wong | CD Forum Support | 8 | 04-06-2001 20:27 |