<?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; News</title>
	<atom:link href="http://www.mrroot.net/category/news/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>Back from the dead</title>
		<link>http://www.mrroot.net/2009/12/back-from-the-dead/</link>
		<comments>http://www.mrroot.net/2009/12/back-from-the-dead/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 15:58:54 +0000</pubDate>
		<dc:creator>nisburgh</dc:creator>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.mrroot.net/?p=314</guid>
		<description><![CDATA[I&#8217;m finally back!Â  The last three weeks have been grueling.Â  Mondays and Wednesdays have seen me at ACC teaching my regular Linux class in Austin, then Tuesdays and Thursdays I have been commuting to San Antonio to teach a new Linux class at Northeast Lakeview College.Â  All spare time was dedicated to making the new [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m finally back!Â  The last three weeks have been grueling.Â  Mondays and Wednesdays have seen me at <a href="http://www.austincc.edu/" target="_blank">ACC</a> teaching my regular Linux class in Austin, then Tuesdays and Thursdays I have been commuting to San Antonio to teach a new Linux class at <a href="http://www.alamo.edu/nlc/" target="_blank">Northeast Lakeview College</a>.Â  All spare time was dedicated to making the new Linux course successful.Â  Anyhow, that&#8217;s finally done for a few weeks, so expect to see some new posts!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrroot.net/2009/12/back-from-the-dead/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updates coming soon</title>
		<link>http://www.mrroot.net/2009/11/updates-coming-soon/</link>
		<comments>http://www.mrroot.net/2009/11/updates-coming-soon/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 16:29:55 +0000</pubDate>
		<dc:creator>nisburgh</dc:creator>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.mrroot.net/?p=312</guid>
		<description><![CDATA[I just wanted to say that I&#8217;m still here.Â  Been super busy with the holidays and work.Â  I have more projects to post about, just no time.Â  Putting together a course for my new teaching position at Northeast Lakeview College in San Antonio.Â  That&#8217;s taking a lot of my time.Â  Plus, I&#8217;m taking the CISSP [...]]]></description>
			<content:encoded><![CDATA[<p>I just wanted to say that I&#8217;m still here.Â  Been super busy with the holidays and work.Â  I have more projects to post about, just no time.Â  Putting together a course for my new teaching position at Northeast Lakeview College in San Antonio.Â  That&#8217;s taking a lot of my time.Â  Plus, I&#8217;m taking the CISSP exam December 12th, which requires lots of studying.Â  Hopefully I&#8217;ll find time to post some new stories!Â  Like how I got an experimental version of my mesh network running a couple of weeks ago!Â  <img src='http://www.mrroot.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrroot.net/2009/11/updates-coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software!</title>
		<link>http://www.mrroot.net/2009/11/software/</link>
		<comments>http://www.mrroot.net/2009/11/software/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 21:41:44 +0000</pubDate>
		<dc:creator>nisburgh</dc:creator>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mrroot.net/?p=286</guid>
		<description><![CDATA[I&#8217;ve added a new page to the site! Software! I&#8217;ll try to clean up my more useful bits of code and put them up there, free for anyone to use and abuse. I&#8217;m always happy to get feedback, so don&#8217;t hesitate to let me know just how terrible the code is. The first bit unleashed [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve added a new page to the site! <a href="http://www.mrroot.net/software/" target="_blank"> Software</a>!  I&#8217;ll try to clean up my more useful bits of code and put them up there, free for anyone to use and abuse.  I&#8217;m always happy to get feedback, so don&#8217;t hesitate to let me know just how terrible the code is.  <img src='http://www.mrroot.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The first bit unleashed on the world is a simple library for controlling status LED&#8217;s in your Arduino projects.Â  Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrroot.net/2009/11/software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
