<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>the scootabug virus</title>
	<atom:link href="http://www.getbugged.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.getbugged.com</link>
	<description>dot net programming, microcontrollers and electronics plus a little normal everyday hum-drum!</description>
	<pubDate>Wed, 31 Dec 2008 07:13:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>The Bird is the Word on Family Guy</title>
		<link>http://www.getbugged.com/2008/11/24/the-bird-is-the-word-on-family-guy/</link>
		<comments>http://www.getbugged.com/2008/11/24/the-bird-is-the-word-on-family-guy/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 08:57:34 +0000</pubDate>
		<dc:creator>scoota</dc:creator>
		
		<category><![CDATA[TV]]></category>

		<category><![CDATA[family guy]]></category>

		<category><![CDATA[video]]></category>

		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.getbugged.com/?p=22</guid>
		<description><![CDATA[This is from one of the latest Family Guy episodes. I laughed my ass off the whole episode, it was great!  &#8220;Sir, our math shows that the Bird is equal to or greater than the word&#8221;.

]]></description>
			<content:encoded><![CDATA[<p>This is from one of the latest Family Guy episodes. I laughed my ass off the whole episode, it was great!  &#8220;Sir, our math shows that the Bird is equal to or greater than the word&#8221;.</p>
<p><!-- Smart Youtube --><span class="youtube"><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/ab7-_BzbnaQ&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay="></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/ab7-_BzbnaQ&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355" ></embed><param name="wmode" value="transparent" /></object></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.getbugged.com/2008/11/24/the-bird-is-the-word-on-family-guy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Serial.print a Double on an Arduino</title>
		<link>http://www.getbugged.com/2008/11/22/how-to-serialprint-a-double-on-an-arduino/</link>
		<comments>http://www.getbugged.com/2008/11/22/how-to-serialprint-a-double-on-an-arduino/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 07:54:33 +0000</pubDate>
		<dc:creator>scoota</dc:creator>
		
		<category><![CDATA[Arduino]]></category>

		<category><![CDATA[Code Library]]></category>

		<category><![CDATA[double]]></category>

		<category><![CDATA[float]]></category>

		<category><![CDATA[serial.print]]></category>

		<category><![CDATA[serial.println]]></category>

		<guid isPermaLink="false">http://getbugged.com/?p=3</guid>
		<description><![CDATA[I found the following code on the Arduino forums and decided to post it here for future reference.
It allows you to print a double/float to the serial port.  You&#8217;ll need to edit the last line if you didn&#8217;t want a carriage return after the value is printed.  It works a treat.


void printDouble(double val, byte precision){
// [...]]]></description>
			<content:encoded><![CDATA[<p>I found the following code on the Arduino forums and decided to post it here for future reference.</p>
<p>It allows you to print a double/float to the serial port.  You&#8217;ll need to edit the last line if you didn&#8217;t want a carriage return after the value is printed.  It works a treat.</p>
<pre name="code" class="c">

void printDouble(double val, byte precision){
// prints val with number of decimal places determine by precision
// precision is a number from 0 to 6 indicating the desired decimial places
// example: printDouble( 3.1415, 2); // prints 3.14 (two decimal places)

Serial.print (int(val));  //prints the int part
if( precision &gt; 0) {
Serial.print(&quot;.&quot;); // print the decimal point
unsigned long frac;
unsigned long mult = 1;
byte padding = precision -1;
while(precision--)
mult *=10;

if(val &gt;= 0)
frac = (val - int(val)) * mult;
else
frac = (int(val)- val ) * mult;
unsigned long frac1 = frac;
while( frac1 /= 10 )
padding--;
while(padding--)
Serial.print(&quot;0&quot;);
Serial.println(frac,DEC) ;
}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.getbugged.com/2008/11/22/how-to-serialprint-a-double-on-an-arduino/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Code -->
