<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>flush on Bald Engineer</title><link>https://www.baldengineer.com/tag/flush</link><description>Recent content in flush on Bald Engineer</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 24 May 2016 16:57:34 +0000</lastBuildDate><atom:link href="https://www.baldengineer.com/tag/flush/index.xml" rel="self" type="application/rss+xml"/><item><title>When do you use the Arduino's Serial.flush()?</title><link>https://www.baldengineer.com/when-do-you-use-the-arduinos-to-use-serial-flush.html</link><pubDate>Thu, 02 Jan 2014 12:00:47 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=2061</guid><description>&lt;p&gt;In the Arduino library, the Serial object has a method called &amp;ldquo;flush().&amp;rdquo;  Often users go throwing it into programs without fully understanding what it does. It doesn&amp;rsquo;t help that it&amp;rsquo;s functionality changed when version 1.0 of the Arduino IDE was released.&lt;/p&gt;&#10;&lt;p&gt;Does Serial.flush() affect the Transmit Buffer or the Receive Buffer and when do you need to use it?&lt;/p&gt;&#10;&lt;h2 id="what-does-serialflush-do"&gt;What does Serial.flush() do?&lt;/h2&gt;&#10;&lt;p&gt;From the Arduino reference for Serial.flush (found on &lt;a href="http://arduino.cc/en/Serial/Flush"&gt;this page&lt;/a&gt;):&lt;/p&gt;</description></item></channel></rss>