namratha_r
Newbie level 3
- Joined
- Jan 23, 2015
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 25
Hi am working on pic16f877a . Have interfaced pushbutton with pic I need help in programming.
If once switch is pressed it should increment one value and i achieved doing this its working fine .
But, condition is if switch is press down and hold for some time it should fastely and smoothly increment value without flickering but in my code if i press down and hold it will be in same state . anybody has any idea about the logic please help me.
Am using XC8 complier.
If once switch is pressed it should increment one value and i achieved doing this its working fine .
But, condition is if switch is press down and hold for some time it should fastely and smoothly increment value without flickering but in my code if i press down and hold it will be in same state . anybody has any idea about the logic please help me.
Am using XC8 complier.