Oh, I understand now.Frank607 wrote:I see that the LEDs are going On when I push a button. My relays are on PORTC and I don’t know how I can activate them in your flowchart.
I have modified the flowchart so you can assign multiple outputs to each switch.
Not sure in hardware why you would not have just one output pin for each switch and connect both relays and one LED to the it.
Excessive current will not be drawn as transistors can be used to enable both relays and LEDs on the one pin.