Connect button with drop down menue?

edited January 2017 in Arduino

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.

Tagged:

Answers

Sign In or Register to comment.