Does closing COM1 automatically clear the rx buffer?by (no login)
Forgive me if it seems obvious, but this is my first time using RS232 and Qbasic. My program is working as expected so far, but I need a fast way of clearing the receive buffer. I would test it, but I will be away from the project for a couple days. I'm not using any handshaking or any other syncing method. The transmit device will just have long pauses between transmissions. Lost data is not a problem. I just need to clear the rx buffer and receive a new burst from the beginning. I just need confirmation if closing the COM1 and re-opening it will start with an empty buffer.
Return to Index
|Response Title||Author and Date|
|Clear the buffer first in a loop.||on Feb 1|