[SOLVED] Serial Port Bug?: Double display of input in Terminal Example | SOLVED
-
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!