Hi I am new.
I am trying to use a Microcontroller that can increment a count from 0 to 2 with the use of a single pushbutton/switch. So when the button is pressed, it will count up and round back down from 2 to 0 and just keep cycling through all three. In addition, I need the microcontroller to energize a 4PDT relay when the count is 1, and energize a different 4PDT relay when the count is 2, and be in off mode (i.e no current output) when the count is 0.
Can this be done and what would I need to know?
Thanks very much.
I am trying to use a Microcontroller that can increment a count from 0 to 2 with the use of a single pushbutton/switch. So when the button is pressed, it will count up and round back down from 2 to 0 and just keep cycling through all three. In addition, I need the microcontroller to energize a 4PDT relay when the count is 1, and energize a different 4PDT relay when the count is 2, and be in off mode (i.e no current output) when the count is 0.
Can this be done and what would I need to know?
Thanks very much.