
WayneA
USA
Asked
— Edited

Good Evening,
I am looking for some help with a way to use the mobile builder "Add Button". I see the script window, and it needs script, how can I use the button press as an input to my script? Does anyone know?
Thanks.
I use six buttons to turn on and off motors in a Roomba.
Code:
Every time you press that button, 1 is added to the variable $buttonPress counter
Code: