<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>This and That &#187; Software</title>
	<atom:link href="http://www.mrroot.net/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mrroot.net</link>
	<description>What else would it be?</description>
	<lastBuildDate>Fri, 03 Sep 2010 15:56:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Small Update to Mirf Library</title>
		<link>http://www.mrroot.net/2010/07/small-update-to-mirf-library/</link>
		<comments>http://www.mrroot.net/2010/07/small-update-to-mirf-library/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 14:04:08 +0000</pubDate>
		<dc:creator>nisburgh</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[nordic]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mrroot.net/?p=336</guid>
		<description><![CDATA[One of my readers asked ( in the forums too ) for some help on reading register values from the Nordic chip, so I put together a quick example and added it to the library. This example reads the RF_SETUP register and prints the value in binary to the Serial output: /** * Pins: * [...]]]></description>
			<content:encoded><![CDATA[<p>One of my readers <a href="http://www.mrroot.net/2009/11/more-software-this-time-some-fixes-to-the-mirf-library/comment-page-1/#comment-341" target="_blank">asked</a> ( in the <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1277323718" target="_blank">forums</a> too ) for some help on reading register values from the Nordic chip, so I put together a quick example and added it to the <a href="http://www.mrroot.net/software/" target="_blank">library</a>.  This example reads the RF_SETUP register and prints the value in binary to the Serial output:</p>
<pre><code>/**
 * Pins:
 * Hardware SPI:
 * MISO -> 12
 * MOSI -> 11
 * SCK -> 13
 *
 * Configurable:
 * CE -> 8
 * CSN -> 7
 */

#include <Spi.h>
#include <mirf.h>
#include <nRF24L01.h>

void setup() {
  Serial.begin(9600);
  Serial.println( "Starting wireless..." );

  // Setup
  Mirf.init();
  Mirf.setRADDR((byte *)"clie1");
  Mirf.payload = sizeof(unsigned long);
  Mirf.config();

  // Read and print RF_SETUP
  byte rf_setup = 0;
  Mirf.readRegister( RF_SETUP, &#038;rf_setup, sizeof(rf_setup) );
  Serial.print( "rf_setup = " );
  Serial.println( rf_setup, BIN );

  Serial.println( "Wireless initialized!" );
}

void loop() {}</code></pre>
<p>When I ran this code on my board, it printed:</p>
<pre><code>Starting wireless...
rf_setup = 1111
Wireless initialized!</code></pre>
<p>So that&#8217;s 00001111 for the value of RF_SETUP.  Breaking it down, high bit to low bit, using the <a href="http://www.nordicsemi.no/files/Product/data_sheet/nRF24L01P_Product_Specification_1_0.pdf" target="_blank">datasheet</a>:</p>
<p>0 &#8211; No continuous carrier wave<br />
0 &#8211; Reserved &#8211; must be 0<br />
0 &#8211; RF_DR_LOW is 0<br />
0 &#8211; No PLL lock signal<br />
1 &#8211; RF_DR_HIGH is 1, and according to chart, 01 = 2 Mbps<br />
1 &#8211; High bit RF_PWR is 1<br />
1 &#8211; Low bit RF_PWR is 1, according to chart, 11 = 0 dBm output power<br />
1 &#8211; Not used/obsolete</p>
<p>You can download the library and bundled examples ( including this one ) from the <a href="http://www.mrroot.net/software/" target="_blank">Software</a> page.  Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrroot.net/2010/07/small-update-to-mirf-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git: A cause for changing your SCM tool</title>
		<link>http://www.mrroot.net/2010/04/git-a-cause-for-changing-your-scm-tool/</link>
		<comments>http://www.mrroot.net/2010/04/git-a-cause-for-changing-your-scm-tool/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 16:30:46 +0000</pubDate>
		<dc:creator>nisburgh</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mrroot.net/?p=330</guid>
		<description><![CDATA[I&#8217;m generally one of those people that doesn&#8217;t feel the need to fix something that ain&#8217;t broke.Â  So when all of this hooplah about Git hit the programming scene a while ago, I didn&#8217;t feel obligated to jump on board.Â  I had been using Subversion quite happily for years, and CVS before that.Â  SVN did [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m generally one of those people that doesn&#8217;t feel the need to fix something that ain&#8217;t broke.Â  So when all of this hooplah about <a href="http://git-scm.com/" target="_blank">Git</a> hit the programming scene a while ago, I didn&#8217;t feel obligated to jump on board.Â  I had been using <a href="http://subversion.tigris.org/" target="_blank">Subversion</a> quite happily for years, and <a href="http://www.nongnu.org/cvs/" target="_blank">CVS</a> before that.Â  SVN did what I needed, and worked well for me since I ran a remote, secured repository which I backed up hourly.</p>
<p>A friend recommended I look into Git, and I did.Â  I looked at the website, read the tutorial, and simply could not figure out why I should switch my Source Code Management system.Â  It felt like change for the sake of change, and I am not a fan of that idea.</p>
<p>Enter: <a href="http://hginit.com/" target="_blank">Hg Init</a> &#8211; The Mercurial Tutorial.Â  Here was a very well written tutorial and explanation as to why you should make the move to Mercurial ( which is very similar to Git ).Â  Give it a read, you&#8217;ll see what I mean.Â  I know I&#8217;ll be switching soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrroot.net/2010/04/git-a-cause-for-changing-your-scm-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More software!  This time some fixes to the Mirf library</title>
		<link>http://www.mrroot.net/2009/11/more-software-this-time-some-fixes-to-the-mirf-library/</link>
		<comments>http://www.mrroot.net/2009/11/more-software-this-time-some-fixes-to-the-mirf-library/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 04:09:53 +0000</pubDate>
		<dc:creator>nisburgh</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[nordic]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mrroot.net/?p=299</guid>
		<description><![CDATA[I&#8217;ve added another Arduino library to the software page. This one is an updated version of the original Mirf library, used for interfacing with the Nordic Semiconductor RF modules, like the nRF24L01+. I fixed a bug, updated the code here and there, fixed one of the examples and made some other small changes. As I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve added another Arduino library to the <a href="http://www.mrroot.net/software/" target="_blank">software</a> page.  This one is an updated version of the original Mirf library, used for interfacing with the Nordic Semiconductor RF modules, like the nRF24L01+.  I fixed a bug, updated the code here and there, fixed one of the examples and made some other small changes.  As I work further with the library, I&#8217;ll push changes up here if they&#8217;re big.  The bug fix was a pretty big one, so I wanted to share it with everyone.  Let me know if you have any comments or suggestions!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrroot.net/2009/11/more-software-this-time-some-fixes-to-the-mirf-library/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
