Initalizing many boolean statements

holmes4:
By the way the array "pinset" looks to be pointless as each element is set to its own index. So unless you will be changing then late in your code .....

Mark

Not pointless. He'd need 54 lines of code to set each pin to OUTPUT, if he got rid of it.