[fpc-pascal] Microsecond Delay Suggestions?

Luca Olivetti luca at ventoso.org
Wed Jul 27 02:16:48 CEST 2016


On 26/07/16 13:58, James Richters wrote:
> but I don’t want it to get stuck in an endless loop which could happen if:
>
> A: nothing is ever received
>
> B: garbage is being received due to bad connection or baudrate
> mismatch.. etc..

Look at synaser, its TBlockSerial class has a RecvTerminated method that 
does just that.

http://synapse.ararat.cz/doc/help/synaser.TBlockSerial.html#RecvTerminated

https://sourceforge.net/p/synalist/code/HEAD/tree/trunk/

Bye
-- 
Luca




More information about the fpc-pascal mailing list