<?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: How to use SerialUSB.print in other c file?</title>
		<link>http://forums.leaflabs.com/topic.php?id=74399</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:04:33 +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=74399" rel="self" type="application/rss+xml" />

		<item>
			<title>rogerclark on "How to use SerialUSB.print in other c file?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74399#post-105593</link>
			<pubDate>Wed, 31 Dec 2014 15:39:26 +0000</pubDate>
			<dc:creator>rogerclark</dc:creator>
			<guid isPermaLink="false">105593@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;May I suggest that you switch to using a community version of STM32 support for Arduino &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki&#34; rel=&#34;nofollow&#34;&#62;https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;serialUsb has been renamed by serial, but you will get more support if you use this version
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ss on "How to use SerialUSB.print in other c file?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74399#post-105585</link>
			<pubDate>Thu, 11 Dec 2014 22:26:34 +0000</pubDate>
			<dc:creator>ss</dc:creator>
			<guid isPermaLink="false">105585@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I want to use multi-file structure, like one xxx.pde file, and many xxx.h xxx.c， but when I write SerialUSB.print() Serial1.print() or digitalWrite() function in xxx.c file, the maple IDE can't complie success.&#60;br /&#62;
file aa.pde&#60;br /&#62;
////////////////&#60;br /&#62;
extern &#34;C&#34;&#60;br /&#62;
{&#60;br /&#62;
    void test();&#60;br /&#62;
}&#60;br /&#62;
void setup()&#60;br /&#62;
{&#60;br /&#62;
}&#60;br /&#62;
void loop()&#60;br /&#62;
{&#60;br /&#62;
    test();&#60;br /&#62;
    delay(3000);&#60;br /&#62;
}&#60;br /&#62;
////////////////&#60;br /&#62;
file fun.c&#60;br /&#62;
////////////////&#60;br /&#62;
void test()&#60;br /&#62;
{&#60;br /&#62;
    Serial1.println(&#34;Hello world!&#34;);//digitalWrite(17, HIGH)&#60;br /&#62;
}&#60;br /&#62;
////////////////&#60;br /&#62;
maple IDE give: error:'Serial1' undeclared (first use in this function)//error: 'HIGH' undeclared (first use in this function)&#60;/p&#62;
&#60;p&#62;Which .h file should I must include?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
