We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi I am using the processing IDE to connect with a arduino UNO by using this button and a drop down menu. OK so the button's function is to connect to whatever comm port the user chooses from the drop down menu. The button has text that says "Connect", while the drop down menu will be populated by the COM ports on my computer when the arrow for the menu is click.
So basically, you click the drop down menu select the comm port you want to connect to then, hit connect button. Now once the connection is successful, the connect button, will change its text from "connect" to "disconnect" , and when that is pressed it will disconnect from the arudino. Please help me with the code since I am not sure where to start? I have good c++ experience so I am not new to programming.