Hi,
My apologies if this appears a brainless question. I am trying to get my head round the programming any help is very appreciated.
What I want to do is control the output of 24 LED's using 12 momentary contact toggle switches. Pushing the switch one way will cause the respective LED to light (and stay on) with the other LED associated to that switch going out. The switches are (on)off(on). The other 11 pairs / led groups are to remain in their last state until a new input is given by its respective toggle switch.
The switches are easy to wire with a common center pin which will then give an input to the board dependent on which way the switch is moved.
From the same board I want to run a PWM motor speed controller and a single servo (position from potentiometer).
Any thoughts on elegant code to do this so that will leave it as a standalone unit.
Its probably a really easy thing to do, but right now I'm brain dead!!
