Maybe then it is worth to try this:
100 buttons means about 13 bytes.
You can read that 13 bytes, store them in a temp array.
Do whatever you want and a timer interrupt will get you back to read again the 13 bytes in about 10ms or whatever you want.
Compare to the previous read in temp array. If there is a difference, you can jump to the appropriate sub using ON index GOTO or BRANCHL technique, for up to 127 or 1024 labels to goto.
No pauses, no delays to the main program. An no 200 resistors and 100 capacitors along with a bunch of HC14's.
Ioannis


Reply With Quote

Bookmarks