I would get 4 AVR Mega8 chips, 2 for input side and 2 for output (LED) side. There are, I think, 23 I/O pins. Make one TX on one pair, and other (output side) make one pin of each chip RX. Write a program to read 22 inputs, and send a bit pattern via RS232 of the input pair to the output...