erstmal multiplexen und dann do-loop und wait wird das einfachste sein denk ich
kommst mit 16 pins hin
mfg thomas