10-13-2008 10:54 PM
10-13-2008 11:11 PM
10-13-2008 11:17 PM - edited 10-13-2008 11:18 PM
Use a state machine with three states (idle, task1, task2). The idle state will poll the buttons and switch to the relevants task.
At the completion of each task you can decide what the next state should be (idle or "other" task, for example).
(There is not need to programmatcially click any buttons.)
10-14-2008 01:42 AM
Hi
Other then the 2 options suggested above you can also use shift register, if your requirement is just to run both the Tasks alternatively.
Please see the attachment.
10-14-2008 03:35 AM
10-14-2008 03:37 AM
10-14-2008 03:51 AM
10-14-2008 11:12 AM
10-14-2008 11:39 AM
10-14-2008 12:45 PM