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

		<item>
			<title>stafil on "unknown problem"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11992#post-26642</link>
			<pubDate>Sun, 09 Jun 2013 12:53:37 +0000</pubDate>
			<dc:creator>stafil</dc:creator>
			<guid isPermaLink="false">26642@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;thx all, it is work fine
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlundinse on "unknown problem"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11992#post-26637</link>
			<pubDate>Sun, 09 Jun 2013 07:01:09 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">26637@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;In C macros \ is used as a line continuation character.&#60;br /&#62;
This is used to create long #defines and format them on several lines&#60;br /&#62;
in the source file.&#60;/p&#62;
&#60;p&#62;In most C code new lines doesnt affect the compiler, just makes code&#60;br /&#62;
more readable. The exception is the // comment that is effective until&#60;br /&#62;
the end of the current line. &#60;/p&#62;
&#60;p&#62;So the // \ combination extends the comment to include the next line.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bubulindo on "unknown problem"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11992#post-26636</link>
			<pubDate>Sun, 09 Jun 2013 06:53:29 +0000</pubDate>
			<dc:creator>bubulindo</dc:creator>
			<guid isPermaLink="false">26636@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This is very strange indeed. &#60;/p&#62;
&#60;p&#62;I manage to get the correct result by deleting the comments on the initialization of your matrix. &#60;/p&#62;
&#60;p&#62;uint16 temp[4][3] =&#60;br /&#62;
{&#60;br /&#62;
{ 9, 13, 1560 } ,&#60;br /&#62;
{ 9, 13, 1586 } ,&#60;br /&#62;
{ 9, 13, 1612 } ,&#60;br /&#62;
{ 9, 13, 1638 } ,&#60;br /&#62;
};&#60;/p&#62;
&#60;p&#62;Really, really strange. It seems that this &#34;// \&#34; causes the next instruction to be ignored.&#60;br /&#62;
I tried it here: &#60;/p&#62;
&#60;p&#62;for(int i = 0; i&#38;lt; 4; i++)&#60;br /&#62;
{&#60;br /&#62;
SerialUSB.print(i); // \&#60;br /&#62;
SerialUSB.print(&#34;: &#34;);&#60;br /&#62;
SerialUSB.println(temp[i][2]); // ^&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;And had the same behavior. &#60;/p&#62;
&#60;p&#62;Does any of the compiler gurus here understand why this happens?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stafil on "unknown problem"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11992#post-26577</link>
			<pubDate>Sat, 08 Jun 2013 16:31:09 +0000</pubDate>
			<dc:creator>stafil</dc:creator>
			<guid isPermaLink="false">26577@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;I dont understand for this result.(maple r5 maple ide 12, win 8)&#60;/p&#62;
&#60;p&#62;my code&#60;/p&#62;
&#60;p&#62;uint16 courierNew9pt_BoldCharDescriptors[4][3] =&#60;br /&#62;
{&#60;br /&#62;
  {    9, 13, 1560  }  , 		// \&#60;br /&#62;
  {    9, 13, 1586  }  , 		// ]&#60;br /&#62;
  {    9, 13, 1612  }  , 		// ^&#60;br /&#62;
  {    9, 13, 1638  }  , 		// _&#60;br /&#62;
};&#60;/p&#62;
&#60;p&#62;void setup()&#60;br /&#62;
{&#60;br /&#62;
  delay(5000);&#60;br /&#62;
  for(int i = 0; i&#38;lt; sizeof(courierNew9pt_BoldCharDescriptors)/sizeof(courierNew9pt_BoldCharDescriptors[0]); i++)&#60;br /&#62;
  {&#60;br /&#62;
    SerialUSB.print(i);&#60;br /&#62;
    SerialUSB.print(&#34;: &#34;);&#60;br /&#62;
    SerialUSB.println(courierNew9pt_BoldCharDescriptors[i][2]);&#60;br /&#62;
  }&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;void loop()&#60;br /&#62;
{&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;and my result:&#60;/p&#62;
&#60;p&#62;0: 1560&#60;br /&#62;
1: 1612&#60;br /&#62;
2: 1638&#60;br /&#62;
3: 0&#60;/p&#62;
&#60;p&#62;I understand. thx
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
