hsa.a
Junior Member level 3
- Joined
- Dec 15, 2016
- Messages
- 30
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 232
hi,
can somebody tell me how to perform two different tasks with one push button i.e, if the push button is pressed once, it performs task A. If the button if pressed the 2nd time, it should perform task B and it should wait till the button is pressed again.
i am using 89c2051 uc and assembly language.
can somebody tell me how to perform two different tasks with one push button i.e, if the push button is pressed once, it performs task A. If the button if pressed the 2nd time, it should perform task B and it should wait till the button is pressed again.
i am using 89c2051 uc and assembly language.