Hi Hank',
Got a schematic we could look at? Maybe there's a way to recover an extra pin that you haven't thought of.
How are you sampling and managing your switches? Polling them in a loop or polling them via periodic interrupt?
Are you using two pins for that tri-color LED or are you using any pins for LED mode indicators? If so, you might consider reclaiming those pins and using one of them for the fourth switch, then mux' the mode LEDs with the switches.
Regards, Mike
Bookmarks