OK thanks. I was hoping for some magic way of using a switch statement or some C trick I didn't know about that would speed up execution and reduce code space - the entire code compiles to 32722 bytes with this CPU maxing out at 32768. So very tight for space ![]()