07.12.2021, 22:55
Hi All,
I was reviewing the openrb serial library documentation over the last few days.
I have often used the .flush() command as i see is commonly used with the examples on here for rs-485 scripting.
I note the .drain() command in the documentation. I have never used this function and the documentation is a little vague.
Could anyone elaborate on how the .drain() call is best used?
regards,
Brent
I was reviewing the openrb serial library documentation over the last few days.
I have often used the .flush() command as i see is commonly used with the examples on here for rs-485 scripting.
I note the .drain() command in the documentation. I have never used this function and the documentation is a little vague.
Could anyone elaborate on how the .drain() call is best used?
regards,
Brent