Difficult communication with processing

Only self-proclaimed Arduino forum "experts" write INITIAL cods using arrays, loops etc.
Most mortals, me included, do the initial version the way you did it.
That helps to visualize the patterns and LATER helps to condense the code.
It is called "software development".

Not sure how posting full code with code tags is of such help.

I believe MorganS recently wrote very nice essay on how to organize "pushing multiple buttons" code.
Sorry , but :confused: OF does not recall the thread. Perhaps Mrs Google could help.