I'm currently working on a project involving serial communication between the G4P GUI builder and an Arduino Uno set. I'm new to both languages and would like some help.
Objective:
I am trying to make a GUI that resembles a typical Powerpoint slideshow- the user presses a physical pushbutton on the Arduino which causes the GUI to transition from one window to the next, much like how a clicker functions in a slideshow presentation.
What I've managed so far
So far, I've been able to establish serial communication between my Arduino and the G4P. I've tried using the "window1.setVisible(false)" method in response to input from the Arduino push button. Sharing my codes below: