I'm not really sure how to word this in Google to get a straight answer.
I need to read any combination of inputs (up to 13) and to do something sequentially, according to which inputs are read as "HIGH."
For example, if there are 13 inputs, each assigned to a momentary pushbutton switch (N.O.) and 13 corresponding outputs (controlling LEDs):
If input buttons 1, 4, 6, & 7 are pressed and held, then LED 1 would turn on for 0.25 second, LED 1 would then turn off and at the same time LED 4 would turn on for 0.25 second, LED 4 then turns off and LED 6 turns on for 0.25 second, and so on...
Basically, I'm trying to achieve a very simple "arpeggiator" type of effect, as in an arpeggiator that would come loaded on a synthesizer.
I have a pretty good understanding of how to read inputs send outputs, but I can't seem to figure out how to do it in exactly this way. It seems like it should fairly simple.... Please let me know if you need more info from me. I appreciate any help. Thanks!