Hi, I am using serial port communication. I can write and read the data but the warning after "fscanf" keep pop up. Below attached the code. Code:
s=serial('COM6','BaudRate',115200,'Parity','none'... ,'DataBits',8,'FlowControl','none'... ,'Terminator','LF/CR'); fopen(s); fprintf(s,'t'); out = fscanf(s)
Warning: A timeout occurred before the Terminator was reached.
May i know what is the problem?
No products are associated with this question.