Hi there
I have searched the forums and google and done a few tutorials but I am a bit lost in what I want to do.
I have also completed several tutorials such as blinking leds, reading switches, using timers etc.
I have 2 buttons and 1 led.
When I press the button I want the led to blink and each time I press the button I want the led to blink one more time than last.
i.e I want 3 button presses to make the led blink 3 times.
When it gets to 5 I want it to go back to 1 again.
I am using mpasm and a pic12f683.
Any suggestions?
I have searched the forums and google and done a few tutorials but I am a bit lost in what I want to do.
I have also completed several tutorials such as blinking leds, reading switches, using timers etc.
I have 2 buttons and 1 led.
When I press the button I want the led to blink and each time I press the button I want the led to blink one more time than last.
i.e I want 3 button presses to make the led blink 3 times.
When it gets to 5 I want it to go back to 1 again.
I am using mpasm and a pic12f683.
Any suggestions?