basavaraj.mr
Junior Member level 3
- Joined
- Mar 24, 2010
- Messages
- 27
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,291
- Location
- banglore
- Activity points
- 1,537
Hi, all
I wanted to implement single push switch for 2 different actions.
1) if i press and hold for 3 sec the device should ON, if it is ON den it should OFF.
2) if i press and release do other actions.
Am not able to differentiate 1sec switch press and 3 sec switch press plzz help me..
Thanks in advance.
I wanted to implement single push switch for 2 different actions.
1) if i press and hold for 3 sec the device should ON, if it is ON den it should OFF.
2) if i press and release do other actions.
Am not able to differentiate 1sec switch press and 3 sec switch press plzz help me..
Thanks in advance.