Hello, I am a student who is making a control program using Processing 4.
The control program has 128 listed buttons, and when a button is pressed, the pin connected to the corresponding button in the driving circuit turns on. Currently, there is a program, but I am trying to modify it so that only one button out of 128 is On. (Currently, all buttons can be turned on, if another button is pressed while one is turned on, only the newly pressed button needs to be turned on)
I’m not sure how to fix it, so I’m asking. Thank you for your reply.
here is a code under the line
thank you for the reply
I was able to edit it using Radiobutton.
Additionally, I am trying to modify it so that multiple selections can be made when pressing the SHIFT key, void keyPressed(){
} How should I define it inside the function??