Clear the read buffer of the serial port
Hey guys.I'm new here and excuse me for my english.How i can clear the buffer of the serial port,only data to receive?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jun 16, 2012, 4:05 AM EDT
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.discardinbuffer.aspx
Milos3 reputationPosted Jun 16, 2012, 4:33 AM EDT