<?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: LiquidCrystal.print((int)1) uses 23Kb !</title>
		<link>http://forums.leaflabs.com/topic.php?id=680</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:18:27 +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=680" rel="self" type="application/rss+xml" />

		<item>
			<title>Xavier on "LiquidCrystal.print((int)1) uses 23Kb !"</title>
			<link>http://forums.leaflabs.com/topic.php?id=680#post-3841</link>
			<pubDate>Tue, 08 Mar 2011 03:22:14 +0000</pubDate>
			<dc:creator>Xavier</dc:creator>
			<guid isPermaLink="false">3841@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I investigated a little this problem.&#60;br /&#62;
The previous version of Print.c and Print.h did not make this second programm so big.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;snprintf&#60;/strong&#62; is the Guilty !!! and has been added in the last Print update.&#60;br /&#62;
23 kb !!&#60;br /&#62;
Would be great not to use this function :-)&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Xavier
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Xavier on "LiquidCrystal.print((int)1) uses 23Kb !"</title>
			<link>http://forums.leaflabs.com/topic.php?id=680#post-3838</link>
			<pubDate>Mon, 07 Mar 2011 16:28:19 +0000</pubDate>
			<dc:creator>Xavier</dc:creator>
			<guid isPermaLink="false">3838@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I have another question,&#60;/p&#62;
&#60;p&#62;I noticed a strange flash memory footprint behaviour with lcd:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
LiquidCrystal      lcd(23,24, 25,26,27,28,29,30,31,32);&#60;br /&#62;
int main(void)&#60;br /&#62;
{&#60;br /&#62;
  lcd.begin(20, 4);&#60;br /&#62;
  lcd.clear();&#60;br /&#62;
  lcd.print(&#34;Test&#34;);&#60;br /&#62;
  lcd.print((uint8)32);&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;gives me :&#60;br /&#62;
Final Size:&#60;br /&#62;
   text	   data	    bss	    dec	    hex	filename&#60;br /&#62;
  11648	    704	    480	  &#60;strong&#62;12832&#60;/strong&#62;	   3220	build/maple.elf&#60;/p&#62;
&#60;p&#62;And&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
LiquidCrystal      lcd(23,24, 25,26,27,28,29,30,31,32);&#60;br /&#62;
int main(void)&#60;br /&#62;
{&#60;br /&#62;
  lcd.begin(20, 4);&#60;br /&#62;
  lcd.clear();&#60;br /&#62;
  lcd.print(&#34;Test&#34;);&#60;br /&#62;
  lcd.print((uint8)32);&#60;br /&#62;
  lcd.print((int)1);&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Final Size:&#60;br /&#62;
   text	   data	    bss	    dec	    hex	filename&#60;br /&#62;
  34128	   1984	    544	  &#60;strong&#62;36656&#60;/strong&#62;	   8f30	build/maple.elf&#60;/p&#62;
&#60;p&#62;I don't know what lcd.print((int)1) pulls from the libmaple objects but it's a lot.&#60;br /&#62;
Any explaination to that ?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Xavier
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
