Thank you for your wonderful effort. I will try this out in my cy8c4245axi-483 MCU. I have also written code for this.. but it is not properly working. Can you give me suggestions where I'm making mistakes?
1. the code which you have create is works fine for me. but it should hold its states. i.e if i tap up button 1 time y1,y2 two LEDs should glow till i tap up button for 2nd time, after 2nd tap y1,y2,y3 should glow till next tap. like wise i need to do. so what should be need to change?
2. The code which I have you has a error, when i tap more than 3 times on up button. it again turns on y1,y2 LED instead of this it should be hold it max LED count i.e y1,y2,y3,y4 should continue to glow. similarly if i tap down button initially before tap on up button ony1 should glow, instead of this y1,y2 are glowing. so what will be the modification required for both the cases?
The modified which you have sent me also having same problem as described in point.1.
Here i am attaching video of Point.1 .it should hold states on each tap instead of changing its states on continue TAP.