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

		<item>
			<title>importer on "Running Arduino Example Code: Serial"</title>
			<link>http://forums.leaflabs.com/topic.php?id=22#post-97</link>
			<pubDate>Sat, 03 Apr 2010 14:59:47 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">97@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;on Thu 14 of Jan., 2010 12:32 EST, by rsbohn &#60;/p&#62;
&#60;p&#62;Serial ports are:&#60;br /&#62;
Serial1: Pin7 (TX) Pin8 (RX)&#60;br /&#62;
Serial2: Pin1 (TX) Pin0 (RX)&#60;br /&#62;
Serial3: EXT9 (TX) EXT10 (RX)&#60;/p&#62;
&#60;p&#62;These all use HardwareSerial.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Running Arduino Example Code: Serial"</title>
			<link>http://forums.leaflabs.com/topic.php?id=22#post-96</link>
			<pubDate>Sat, 03 Apr 2010 14:59:20 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">96@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;on Tue 12 of Jan., 2010 16:25 EST, by poslathian &#60;/p&#62;
&#60;p&#62;And if youd like to forward the serial port out to USB you can do:&#60;/p&#62;
&#60;p&#62;HardwareUsb Usb;&#60;br /&#62;
void setup() {&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;void loop() {&#60;br /&#62;
Usb.println(&#34;Hello!&#34;);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;and Usb.x works for all the other Serial.x functions (available, read, flush..)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Running Arduino Example Code: Serial"</title>
			<link>http://forums.leaflabs.com/topic.php?id=22#post-94</link>
			<pubDate>Sat, 03 Apr 2010 14:59:02 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">94@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;on Tue 12 of Jan., 2010 12:33 EST, by rsbohn&#60;/p&#62;
&#60;p&#62;If you want to run the code examples for Arduino on your Maple board you have to pick one of the three serial ports to use. Just compiling out-of-the-box will fail. To use Serial1 (the USB serial port) add the following to the top of the sketch:&#60;/p&#62;
&#60;p&#62;; // semicolon - you need it here&#60;br /&#62;
#if defined(MAPLE)&#60;br /&#62;
HardwareSerial Serial = Serial1&#60;br /&#62;
#endif&#60;/p&#62;
&#60;p&#62;Now you should be able to compile and run the sketch on the Maple, and it will still work on the Arduino as well.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
