Problems with using the serialport in qt and c ++
Unsolved
General and Desktop
-
wrote on 26 Jun 2021, 19:32 last edited by
I want to use the serial connection with an arduino between 2 different windows of my program, but when I start the serialport in a window and it executes, it changes the window and stops working, showing me "it is not connected".
-
Hi and welcome to devnet,
Please show the code you are using.
-
Hi
make sure you dont have the serial port already open by arduino IDE.Also you need 2 comports where each app opens a different comport. they cannot open the same.
You need to connect the 2 comports with a serial wire.
You can also use software to allow such connection.
http://com0com.sourceforge.net/
1/3