MATLAB Answers

Arduino GUI Com-PortI

조회 수: 1(최근 30일)
Tobias Wzl
Tobias Wzl 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

  댓글 수: 0

댓글을 달려면 로그인하십시오.


Community Treasure Hunt

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

Start Hunting!

Translated by