How to Skip at a set number of button pushes
Posted: Fri Sep 17, 2010 2:15 pm
Hi Guys.
I have a Simply PWM signal that goes up and down in 10% steps at the press of a button.
How ever if the Up power button is pressed 10 times and the PWM is up to 100% it will revert back to 0%.
What do i need to do to get it to skip this part of my code if the button has been pushed 10 times...
I have tried many ways but have not been able to work it out.
Could some one help my out. copy of program attached.
Thanks Tristan.
I have a Simply PWM signal that goes up and down in 10% steps at the press of a button.
How ever if the Up power button is pressed 10 times and the PWM is up to 100% it will revert back to 0%.
What do i need to do to get it to skip this part of my code if the button has been pushed 10 times...
I have tried many ways but have not been able to work it out.
Could some one help my out. copy of program attached.
Thanks Tristan.