<?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: Reset/SerialUSB</title>
		<link>http://forums.leaflabs.com/topic.php?id=9392</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:20:41 +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=9392" rel="self" type="application/rss+xml" />

		<item>
			<title>feurig on "Reset/SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9392#post-20758</link>
			<pubDate>Sat, 03 Nov 2012 19:55:18 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">20758@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The arduino cdc is separate from the processor so when you reset the arduino you don't reset the usb connection and therefore don't have to re enumerate the device. On the other hand &#60;em&#62;every&#60;/em&#62; time you talk to the arduino you reset it (which is pretty dumb). The lag you are complaining about is mostly on the operating system side. If you need all of the output to go to the serial port then don't use delays; check for connectivity before talking to the port. &#60;/p&#62;
&#60;p&#62;(SerialUSB.isConnected() &#38;amp;&#38;amp; (SerialUSB.getDTR() &#124;&#124; SerialUSB.getRTS()))&#60;/p&#62;
&#60;p&#62;should do the trick. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://leaflabs.com/docs/lang/api/serialusb.html#lang-serialusb&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/lang/api/serialusb.html#lang-serialusb&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>raymadigan on "Reset/SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9392#post-20735</link>
			<pubDate>Fri, 02 Nov 2012 01:35:26 +0000</pubDate>
			<dc:creator>raymadigan</dc:creator>
			<guid isPermaLink="false">20735@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am working on a project that I am trying to port from the Arduino world.  The problem I am trying to solve is that the Arduino just isn't big enough for anything real, as you all know.  My problem is I have had to port several of the libraries that I use and I need to debug them, and my project code and I am having a little trouble.&#60;/p&#62;
&#60;p&#62;I am using the Maple Mini and I want to trace the code from setup.  I have put in delays wait for SerialUSB to become available.  The problem is that I can only see the output after the monitor is visible.  &#60;/p&#62;
&#60;p&#62;In the arduino world when the Monitor is opened the sketch is reset and setup runs again.  With this functionality I can see all of the output from setup and the full execution of the sketch.&#60;/p&#62;
&#60;p&#62;Is there a way to match this functionality on the Maple Mini?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
