<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: SerialUSB.available()  Only seems to return 0, 1</title>
		<link>http://forums.leaflabs.com/topic.php?id=9501</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:18:45 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=9501" rel="self" type="application/rss+xml" />

		<item>
			<title>feurig on "SerialUSB.available()  Only seems to return 0, 1"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9501#post-21010</link>
			<pubDate>Mon, 12 Nov 2012 13:22:09 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">21010@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I havent looked at the current code included in the ide but the most recent libmaple should work as advertised. It would be helpful if you let us know how you were supplying the data.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>StephenFromNYC on "SerialUSB.available()  Only seems to return 0, 1"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9501#post-20924</link>
			<pubDate>Fri, 09 Nov 2012 17:55:40 +0000</pubDate>
			<dc:creator>StephenFromNYC</dc:creator>
			<guid isPermaLink="false">20924@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@CaseyK,&#60;/p&#62;
&#60;p&#62;Welcome to the LeafLabs Forum.&#60;/p&#62;
&#60;p&#62;Please refer to the &#34;Guidelines for Posting&#34; (it is a sticky topic at &#60;a href=&#34;http://forums.leaflabs.com/&#34;&#62;http://forums.leaflabs.com/&#60;/a&#62; ).&#60;/p&#62;
&#60;p&#62;Also, tell us which terminal app you are using.&#60;/p&#62;
&#60;p&#62;It may be helpful to share which unmodified sketches you loaded.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>CaseyK on "SerialUSB.available()  Only seems to return 0, 1"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9501#post-20923</link>
			<pubDate>Fri, 09 Nov 2012 16:54:17 +0000</pubDate>
			<dc:creator>CaseyK</dc:creator>
			<guid isPermaLink="false">20923@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have been trying to write code that would wait until a the USBSerial buffer was above ~10 characters. It seems that when I actually run the program I can only return a 0 or 1 from the SerialUSB.available() command.  Is there a fix for this?  I have included some test code to demonstrate.  When the program is running you type into a serial terminal.  As you type the number printed is supposed to increase.  It stops at 1...&#60;/p&#62;
&#60;p&#62;Any help would be greatly appreciated.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;void setup() {

}

void loop() {

   SerialUSB.print(SerialUSB.available())

delay(100);  // Slow down the program

}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
