I'm doing my first processing project. I want to create a GUI like this:
http://www.instructables.com/files/deriv/FKR/POS6/GLFUD92Z/FKRPOS6GLFUD92Z.LARGE.jpg
that saves the state of each square to a text file so I can use it to control my LED matrix. I want the output to be a bunch of 8x8 matrices of either 1s or 0s. Since I am a total Processing noob I have a few questions (I have a little experience with C and arduino). Inside my draw function, i was able to make 64 squares easily, but I don't really understand how to control each one individually. Specifically, how do I link the square to a bit for the output, and how do I make it so the color of just one square changes? I can make it so pressing in a certain square makes the entire draw function a certain color, but not just the square I clicked on. Any help/information would be greatly appreciated.
1