[SOLVED] Serial Port Bug?: Double display of input in Terminal Example | SOLVED
-
wrote on 1 Apr 2015, 01:49 last edited by Sen Li 4 Feb 2015, 01:16
I am a beginner of QSerialPort, and learning the Terminal Example, try to communicate with an optical sensor.
I use that example to talk to the sensor, try to send string to it, however, whenever I type any one letter into the console, it shows up two letter, what's happening?
It works like below:
ACTIONS MENU:
(1) Send command string
(2) Send ASCII characters
(3) Continuous receive
(4) Return to main menu->11
Enter hex string of 256 values or less. Press return when finished.
RR = Receive, CH = Chip Select High, CL = Chip Select Low, DY = 10ms Delay
RRRR
R1 = 0x00
String sent!Actually I just typed in "1" and "RR", it shows like I typed in as "11" and "RRRR".
Has anyone encountered this problem?
How should I fix this?
Thank you! -
wrote on 1 Apr 2015, 01:56 last edited by SysTech 4 Jan 2015, 01:58
If you are using the terminal example provided by Qt then under settings there is "Local echo". Uncheck that.
Settings is under the gear icon.
-
wrote on 1 Apr 2015, 23:06 last edited by
Thank you! Exactly answered my question
-
wrote on 2 Apr 2015, 01:10 last edited by
You are welcome.
Please edit your post and set the subject line to include SOLVED
1/5