Arduino GUI Com-PortI

5 views (last 30 days)
Tobias Wzl
Tobias Wzl on 19 Oct 2017
Hello everyone it's me again...
So I've created a GUI (attached) and with the Panel inside the GUI I want to connect my Arduino Mega with a Com-Port(USB) of my Laptop. I want to be free which Com-Port I have to use in the end, I don't want to use always COM4 for example maybe it'll be COm5 or 6 for example depends on which Laptop or Desktop I#m running my GUI.
if i press the button connect the GUI or programm should connect to my Arduino Mega and show me on which Port it is connected in my Edit Text above. If I press Disconnect it should disconnect of course?
Is there a simple way to do this? If yes how ?
I'm thankful for any help

Answers (0)

Categories

Find more on Instrument Control Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!