<?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: New date / time / RTC library</title>
	<atom:link href="http://jeelabs.org/2010/02/05/new-date-time-rtc-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeelabs.org/2010/02/05/new-date-time-rtc-library/</link>
	<description>Computing stuff tied to the physical world</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:55:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jcw</title>
		<link>http://jeelabs.org/2010/02/05/new-date-time-rtc-library/#comment-1043</link>
		<dc:creator>jcw</dc:creator>
		<pubDate>Mon, 08 Feb 2010 10:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://news.jeelabs.org/?p=5516#comment-1043</guid>
		<description>&lt;p&gt;Yes - I see that too for static functions, but not for everything across files. I think the trick is to break up the code into lots and lots of separate source files. But that&#039;s very tedious... will need to investigate further one day, thx.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yes &#8211; I see that too for static functions, but not for everything across files. I think the trick is to break up the code into lots and lots of separate source files. But that&#8217;s very tedious&#8230; will need to investigate further one day, thx.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: PPK</title>
		<link>http://jeelabs.org/2010/02/05/new-date-time-rtc-library/#comment-1039</link>
		<dc:creator>PPK</dc:creator>
		<pubDate>Sun, 07 Feb 2010 22:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://news.jeelabs.org/?p=5516#comment-1039</guid>
		<description>&lt;p&gt;GCC that Arduino IDE uses, optimises away functions (methods) and stuff that are not used. So it shouldn&#039;t matter if you have to #include Wire.h, or whatever library you do (technically they are not really libraries, but let&#039;s pretend they are :).&lt;/p&gt;

&lt;p&gt;I haven&#039;t tested that thoroughfully, but I have noticed that GCC really optimises away functions that I don&#039;t call anywhere in my program.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>GCC that Arduino IDE uses, optimises away functions (methods) and stuff that are not used. So it shouldn&#8217;t matter if you have to #include Wire.h, or whatever library you do (technically they are not really libraries, but let&#8217;s pretend they are :).</p>

<p>I haven&#8217;t tested that thoroughfully, but I have noticed that GCC really optimises away functions that I don&#8217;t call anywhere in my program.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://jeelabs.org/2010/02/05/new-date-time-rtc-library/#comment-1030</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Fri, 05 Feb 2010 23:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://news.jeelabs.org/?p=5516#comment-1030</guid>
		<description>&lt;p&gt;Awesome, I could use this. I&#039;d already built a more rudimentary, DS1307 specific library for my own use.&lt;/p&gt;

&lt;p&gt;One nice thing to add (at least for the DS1307) would be simply a function like isRunning to check the CH bit. I&#039;m assuming begin() starts the clock using this same bit ...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Awesome, I could use this. I&#8217;d already built a more rudimentary, DS1307 specific library for my own use.</p>

<p>One nice thing to add (at least for the DS1307) would be simply a function like isRunning to check the CH bit. I&#8217;m assuming begin() starts the clock using this same bit &#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai GALOS</title>
		<link>http://jeelabs.org/2010/02/05/new-date-time-rtc-library/#comment-1026</link>
		<dc:creator>Mihai GALOS</dc:creator>
		<pubDate>Fri, 05 Feb 2010 13:40:47 +0000</pubDate>
		<guid isPermaLink="false">http://news.jeelabs.org/?p=5516#comment-1026</guid>
		<description>&lt;p&gt;..I meant I saw you did make the internal, non-shared class variables private in the demo projects..&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>..I meant I saw you did make the internal, non-shared class variables private in the demo projects..</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai GALOS</title>
		<link>http://jeelabs.org/2010/02/05/new-date-time-rtc-library/#comment-1025</link>
		<dc:creator>Mihai GALOS</dc:creator>
		<pubDate>Fri, 05 Feb 2010 13:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://news.jeelabs.org/?p=5516#comment-1025</guid>
		<description>&lt;p&gt;Kind of, but you still have public methods. They should be protected. As far as the internal-class variables, I saw that you did make them private.&lt;/p&gt;

&lt;p&gt;So why do you make all methods public?
Is it some kind of interfacing paradigm with C ? Say, I declare a variable and call one of your functions. Will it work if it were &lt;em&gt;only&lt;/em&gt; protected, not public?&lt;/p&gt;

&lt;p&gt;Notice I say variable, not object, because I&#039;m talking C.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Kind of, but you still have public methods. They should be protected. As far as the internal-class variables, I saw that you did make them private.</p>

<p>So why do you make all methods public?
Is it some kind of interfacing paradigm with C ? Say, I declare a variable and call one of your functions. Will it work if it were <em>only</em> protected, not public?</p>

<p>Notice I say variable, not object, because I&#8217;m talking C.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jcw</title>
		<link>http://jeelabs.org/2010/02/05/new-date-time-rtc-library/#comment-1023</link>
		<dc:creator>jcw</dc:creator>
		<pubDate>Fri, 05 Feb 2010 10:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://news.jeelabs.org/?p=5516#comment-1023</guid>
		<description>&lt;p&gt;I don&#039;t understand ... isn&#039;t that what I&#039;m doing above?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand &#8230; isn&#8217;t that what I&#8217;m doing above?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai GALOS</title>
		<link>http://jeelabs.org/2010/02/05/new-date-time-rtc-library/#comment-1022</link>
		<dc:creator>Mihai GALOS</dc:creator>
		<pubDate>Fri, 05 Feb 2010 09:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://news.jeelabs.org/?p=5516#comment-1022</guid>
		<description>&lt;p&gt;It is recommended that you declare all the memebers of a class as protected or private. That way you can&#039;t access a member function/local by using a pointer to it from a non-friend or child class.&lt;/p&gt;

&lt;p&gt;Just a thought ;)
Good work though!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It is recommended that you declare all the memebers of a class as protected or private. That way you can&#8217;t access a member function/local by using a pointer to it from a non-friend or child class.</p>

<p>Just a thought ;)
Good work though!</p>]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.277 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-10 07:22:48 -->
<!-- Compression = gzip -->
