For the longest while I have been struggling with this project. Namely:
Getting input pin 3 on 08m2 to light four LEDs in turn when ever a push button switch attached to it is pressed.
That is to say; On first press pin 0 should go high and remain high
On second press Pin 1 should go high and remain on as well.
On the third press Pin2 should be high and remain high.
Then cycle back.to repeat process
I have tried using procedures but to no avail.
Any insights on how this can be achieved would be greatly appreciated.
Bo
Getting input pin 3 on 08m2 to light four LEDs in turn when ever a push button switch attached to it is pressed.
That is to say; On first press pin 0 should go high and remain high
On second press Pin 1 should go high and remain on as well.
On the third press Pin2 should be high and remain high.
Then cycle back.to repeat process
I have tried using procedures but to no avail.
Any insights on how this can be achieved would be greatly appreciated.
Bo