I found the problem. Although I copied and pasted your sketch, somehow the two ‘}’ s below "ledIdx = 0; were omitted.
I uploaded the sketck to the board after making the changes you advised. The board LEDs seemed to be timed appropriately so I will install it and await the results when I have connected the LEDs for the structures. Thanks for your help and patience.