Arduino GUI Com-PortI

1 次查看(过去 30 天)
Tobias Wzl
Tobias Wzl 2017-10-19
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Instrument Control Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by