While reading data through the serial port, there is a delay in the program. There's a delay when i try to print the data on the screen and when i try to use graphical features such as ovals. Could anyone offer some suggestions? here is some of my code.....
//------------------------------------------------------
Global serial$,comport
Graphics 511, 511, 0, 0
comport=OpenFile("com1:115200,N,8,1")
Repeat
aline$=ReadLine(comport)
//this is where the delay occurs
Print aline$
Until KeyHit(1)
//--------------------------------------------------------
//------------------------------------------------------
Global serial$,comport
Graphics 511, 511, 0, 0
comport=OpenFile("com1:115200,N,8,1")
Repeat
aline$=ReadLine(comport)
//this is where the delay occurs
Print aline$
Until KeyHit(1)
//--------------------------------------------------------