This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Serial Library query
#2
drain() waits until the data has been sent to the port. Usually you don't need to call it all. On some really old versions drain() call was needed before close() otherwise some data could be lost. Now close() will call drain() before closing the port.
Reply


Messages In This Thread
Serial Library query - by BrentW - 07.12.2021, 22:55
RE: Serial Library query - by admin - 08.12.2021, 10:01

Forum Jump: