<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Arduino 2-Digit 7-Segment Display Counter &#124; Part 1</title>
	<atom:link href="http://www.theelectronicshobbyist.com/blog/arduino-2-digit-7-segment-display-counter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theelectronicshobbyist.com/blog/arduino-2-digit-7-segment-display-counter/</link>
	<description>A Passion for Curiosity and Play</description>
	<lastBuildDate>Mon, 06 Feb 2012 21:02:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Natalia</title>
		<link>http://www.theelectronicshobbyist.com/blog/arduino-2-digit-7-segment-display-counter/comment-page-1/#comment-27772</link>
		<dc:creator>Natalia</dc:creator>
		<pubDate>Wed, 25 Jan 2012 22:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.theelectronicshobbyist.com/blog/?p=185#comment-27772</guid>
		<description>Sam,

I haven&#039;t modified my sketches to be compatible with Arduino release 1.0. According to the release notes here: http://arduino.cc/en/Main/ReleaseNotes a now built-in function F() can be used to store strings in flash memory rather than RAM. 

Therefore on the line that says:

#define F 4

just replace &quot;F&quot; with another identifier (for instance FF) and replace every occurrence of &quot;F&quot; on the sketch by that new identifier.

That should do the trick. At some point I should go over the sketches on this blog and make these changes to avoid confusion.</description>
		<content:encoded><![CDATA[<p>Sam,</p>
<p>I haven&#8217;t modified my sketches to be compatible with <a href="http://www.theelectronicshobbyist.com/blog/goto/uno" style="" target="_blank" rel="nofollow" onmouseover="self.status='http://www.theelectronicshobbyist.com/blog/goto/uno';return true;" onmouseout="self.status=''">Arduino</a> release 1.0. According to the release notes here: <a href="http://arduino.cc/en/Main/ReleaseNotes" rel="nofollow">http://arduino.cc/en/Main/ReleaseNotes</a> a now built-in function F() can be used to store strings in flash memory rather than RAM. </p>
<p>Therefore on the line that says:</p>
<p>#define F 4</p>
<p>just replace &#8220;F&#8221; with another identifier (for instance FF) and replace every occurrence of &#8220;F&#8221; on the sketch by that new identifier.</p>
<p>That should do the trick. At some point I should go over the sketches on this blog and make these changes to avoid confusion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.theelectronicshobbyist.com/blog/arduino-2-digit-7-segment-display-counter/comment-page-1/#comment-27764</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Wed, 25 Jan 2012 18:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.theelectronicshobbyist.com/blog/?p=185#comment-27764</guid>
		<description>hi it does not work

sketch_jan25a:45: error: &#039;F&#039; was not declared in this scope
sketch_jan25a.cpp: In function &#039;void setup()&#039;:
sketch_jan25a:57: error: &#039;F&#039; was not declared in this scope</description>
		<content:encoded><![CDATA[<p>hi it does not work</p>
<p>sketch_jan25a:45: error: &#8216;F&#8217; was not declared in this scope<br />
sketch_jan25a.cpp: In function &#8216;void setup()&#8217;:<br />
sketch_jan25a:57: error: &#8216;F&#8217; was not declared in this scope</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Natalia</title>
		<link>http://www.theelectronicshobbyist.com/blog/arduino-2-digit-7-segment-display-counter/comment-page-1/#comment-16461</link>
		<dc:creator>Natalia</dc:creator>
		<pubDate>Thu, 01 Sep 2011 19:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.theelectronicshobbyist.com/blog/?p=185#comment-16461</guid>
		<description>Thanks for catching that, Tom! I&#039;ll fix the code listing. What&#039;s the point of doing the #define&#039;s if I&#039;m not gonna use them, right? :-)</description>
		<content:encoded><![CDATA[<p>Thanks for catching that, Tom! I&#8217;ll fix the code listing. What&#8217;s the point of doing the #define&#8217;s if I&#8217;m not gonna use them, right? <img src='http://www.theelectronicshobbyist.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Dolan</title>
		<link>http://www.theelectronicshobbyist.com/blog/arduino-2-digit-7-segment-display-counter/comment-page-1/#comment-16459</link>
		<dc:creator>Tom Dolan</dc:creator>
		<pubDate>Thu, 01 Sep 2011 18:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.theelectronicshobbyist.com/blog/?p=185#comment-16459</guid>
		<description>??

Seems to me that this line:
const int segs[7] = { 3, 2, 6, 8, 7, 4, 5 };

should be:
const char segs[7] = { A,B,C,D,E,F,G };

..works this way for me...

thanks for the code and the design!</description>
		<content:encoded><![CDATA[<p>??</p>
<p>Seems to me that this line:<br />
const int segs[7] = { 3, 2, 6, 8, 7, 4, 5 };</p>
<p>should be:<br />
const char segs[7] = { A,B,C,D,E,F,G };</p>
<p>..works this way for me&#8230;</p>
<p>thanks for the code and the design!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arduino 2-Digit 7-Segment Display Counter: Sketch &#124; The Electronics Hobbyist</title>
		<link>http://www.theelectronicshobbyist.com/blog/arduino-2-digit-7-segment-display-counter/comment-page-1/#comment-233</link>
		<dc:creator>Arduino 2-Digit 7-Segment Display Counter: Sketch &#124; The Electronics Hobbyist</dc:creator>
		<pubDate>Tue, 15 Jun 2010 05:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.theelectronicshobbyist.com/blog/?p=185#comment-233</guid>
		<description>[...] Arduino 2-Digit 7-Segment Display Counter: Sketch  Posted June 15th, 2010 by hobbyist and filed in Arduino, Project  Tags: 7-segment display, Arduino, common anode, sketch Add a Comment [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.theelectronicshobbyist.com/blog/goto/uno" style="" target="_blank" rel="nofollow" onmouseover="self.status='http://www.theelectronicshobbyist.com/blog/goto/uno';return true;" onmouseout="self.status=''">Arduino</a> 2-Digit 7-Segment Display Counter: Sketch  Posted June 15th, 2010 by hobbyist and filed in Arduino, Project  Tags: 7-segment display, Arduino, common anode, sketch Add a Comment [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.theelectronicshobbyist.com @ 2012-02-06 22:59:21 -->
