<?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/"
	>

<channel>
	<title>Dual Elephants &#187; General</title>
	<atom:link href="http://www.adebenham.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adebenham.com</link>
	<description>Always keep a spare for redundancy</description>
	<lastBuildDate>Sat, 04 Feb 2012 05:14:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Freetronics DMD &#8211; Games</title>
		<link>http://www.adebenham.com/2012/02/freetronics-dmd-games/</link>
		<comments>http://www.adebenham.com/2012/02/freetronics-dmd-games/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 05:09:07 +0000</pubDate>
		<dc:creator>cjd</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[DMD]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.adebenham.com/?p=56</guid>
		<description><![CDATA[I had a little while free and so ported a bunch of games I wrote for the Peggy2 to work with a pair of DMD&#8217;s In doing so the games now run at 32&#215;32 and are controlled by a Wii nunchuck. The games are snake, pong, breakout and race. The Arduino code is available at [...]]]></description>
			<content:encoded><![CDATA[<p>I had a little while free and so ported a bunch of games I wrote for the Peggy2 to work with a pair of DMD&#8217;s<br />
In doing so the games now run at 32&#215;32 and are controlled by a Wii nunchuck.<br />
The games are snake, pong, breakout and race.<br />
The Arduino code is available at <a href="/arduino/DMD_games.zip">DMD_games.zip</a><br />
The two screens are daisy-chained but as the cable connecting them is quite short the top one is upside-down.<br />
To get this working the modified <a href="http://www.adebenham.com/2012/02/freetronics-dmd-updated-library/">DMD library</a> is setup to handle rows of displays where odd-numbered rows are upside down.<br />
See this diagram for how it is laid out (for 2&#215;2 case)</p>
<p><img class="aligncenter" title="Multi-DMD layout" src="/arduino/multi-DMD.svg" alt="" width="515" height="303" /></p>
<p>Playing is fairly straight-forward.  Only thing to remember is that the &#8216;z-button&#8217; on the nunchuck is used to select and the &#8216;c-button&#8217; is used to exit back to the menu</p>
<p>Have a look at the video below to see them in action.<br />
<iframe src="http://www.youtube.com/embed/5WW9ZmvjSA4?version=3&amp;wmode=transparent" width="560" height="340" title="YouTube video player" style="background-color:#000;display:block;margin-bottom:0;max-width:100%;" frameborder="0" allowfullscreen></iframe><p style="font-size:11px;margin-top:0;"><a href="http://www.youtube.com/watch?v=5WW9ZmvjSA4" target="_blank" title="Watch on YouTube">Watch this video on YouTube</a>.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.adebenham.com/2012/02/freetronics-dmd-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freetronics DMD &#8211; updated library</title>
		<link>http://www.adebenham.com/2012/02/freetronics-dmd-updated-library/</link>
		<comments>http://www.adebenham.com/2012/02/freetronics-dmd-updated-library/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 04:49:27 +0000</pubDate>
		<dc:creator>cjd</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[DMD]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.adebenham.com/?p=55</guid>
		<description><![CDATA[I recently got two Dot Matrix Displays from Freetronics - They are 32&#215;16 LED panels that can be daisychained via SPI. It came with a quick library which worked okay but could do with a few enhancements My modified library supports multiple displays (tested with 2&#215;1 and 1&#215;2 layout &#8211; but should work with other [...]]]></description>
			<content:encoded><![CDATA[<p>I recently got two Dot Matrix Displays from Freetronics -<br />
They are 32&#215;16 LED panels that can be daisychained via SPI.<br />
It came with a quick library which worked okay but could do with a few enhancements <img src='http://www.adebenham.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
My modified library supports multiple displays (tested with 2&#215;1 and 1&#215;2 layout &#8211; but should work with other layouts)<br />
It also supports multiple fonts, marquee text, scrolling the display around and grayscale (grayscale sort of works &#8211; but not well <img src='http://www.adebenham.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  )<br />
I have updated the examples included in the original library to use these new functions.</p>
<p>The library can be downloaded from <a href="https://github.com/cjd/DMD">github.com/cjd/DMD</a><br />
See <a href="http://forum.freetronics.com/viewtopic.php?f=26&#038;t=153">freetronics forum for my DMD library</a><br />
<iframe src="http://www.youtube.com/embed/5DLmWrpV-3M?version=3&amp;wmode=transparent" width="560" height="340" title="YouTube video player" style="background-color:#000;display:block;margin-bottom:0;max-width:100%;" frameborder="0" allowfullscreen></iframe><p style="font-size:11px;margin-top:0;"><a href="http://www.youtube.com/watch?v=5DLmWrpV-3M" target="_blank" title="Watch on YouTube">Watch this video on YouTube</a>.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.adebenham.com/2012/02/freetronics-dmd-updated-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>G&#8217;day</title>
		<link>http://www.adebenham.com/2009/03/gday/</link>
		<comments>http://www.adebenham.com/2009/03/gday/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 03:04:45 +0000</pubDate>
		<dc:creator>cjd</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.adebenham.com/blog/?p=9</guid>
		<description><![CDATA[I&#8217;ve had this blog sitting here blank for a fair while now and so I figured it is about time I did something with it. I work in Sun as a backline OS engineer and have a major interest in Linux along with Solaris. I&#8217;ve recently got into electronics and am in the progress of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had this blog sitting here blank for a fair while now and so I figured it is about time I did something with it.</p>
<p>I work in Sun as a backline OS engineer and have a major interest in Linux along with Solaris.</p>
<p>I&#8217;ve recently got into electronics and am in the progress of making a Arduino controlled lighting box and also am designing my own little robot.</p>
<p>In this blog I&#8217;ll attempt to document the lighting box and whatever else I get around to making.</p>
<p>I also have a habit of writing lots of little scripts/fixes so I&#8217;ll post them here as well anything else that comes to mind</p>
<p>Here&#8217;s hoping I actually remember to do any of this <img src='http://www.adebenham.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.adebenham.com/2009/03/gday/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

