<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Ben Hovinga</title>
	
	<link>http://ben.hovinga.me</link>
	<description>Computers, Tech, Photography, Life, Random Goodness</description>
	<lastBuildDate>Sun, 20 May 2012 15:06:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/BenHovinga" /><feedburner:info uri="benhovinga" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Crossing Canada: Day 3</title>
		<link>http://feedproxy.google.com/~r/BenHovinga/~3/Q0eqjXvLOLc/</link>
		<comments>http://ben.hovinga.me/2012/05/19/crossing-canada-day-3-2/#comments</comments>
		<pubDate>Sun, 20 May 2012 05:35:51 +0000</pubDate>
		<dc:creator>Ben Hovinga</dc:creator>
				<category><![CDATA[Road Trip]]></category>
		<category><![CDATA[regina]]></category>
		<category><![CDATA[Road trip]]></category>

		<guid isPermaLink="false">http://ben.hovinga.me/?p=930</guid>
		<description><![CDATA[Calgary to Regina So the drive through the prairies was very boring and there is still more prairies to go tomorrow. It is very flat and you can see nothing for miles. My phone has been giving me problems so &#8230; <a href="http://ben.hovinga.me/2012/05/19/crossing-canada-day-3-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Calgary to Regina<br />
So the drive through the prairies was very boring and there is still more prairies to go tomorrow. It is very flat and you can see nothing for miles. My phone has been giving me problems so this post is from my laptop in the hotel room. Is it strange that the first thing I ask the hotel receptionist after checking in is &#8220;where is a good pub&#8221;? And this was a good pub called the creak-side pub and brewery. This place had 5 house brews that we tried them all, the food was amazing and service was the best I have had at a pub. I recommend that I you are ever in Regina you have to check this place out. It also has a liquor store and pizzeria attached to it and you can walk between them all from inside, its your one stop shop for the game.<br />
<a href="http://ben.hovinga.me/files/2012/05/20120519_142646.jpg"><img src="http://ben.hovinga.me/files/2012/05/20120519_142646-1024x768.jpg" alt="" title="20120519_142646" width="584" height="438" class="alignnone size-large wp-image-935" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/Pu8FRovOIw6Dk0zMV0ttgowwYYc/0/da"><img src="http://feedads.g.doubleclick.net/~a/Pu8FRovOIw6Dk0zMV0ttgowwYYc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Pu8FRovOIw6Dk0zMV0ttgowwYYc/1/da"><img src="http://feedads.g.doubleclick.net/~a/Pu8FRovOIw6Dk0zMV0ttgowwYYc/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Q0eqjXvLOLc:O3hcJTg3MDk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Q0eqjXvLOLc:O3hcJTg3MDk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=Q0eqjXvLOLc:O3hcJTg3MDk:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Q0eqjXvLOLc:O3hcJTg3MDk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Q0eqjXvLOLc:O3hcJTg3MDk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=Q0eqjXvLOLc:O3hcJTg3MDk:F7zBnMyn0Lo" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ben.hovinga.me/2012/05/19/crossing-canada-day-3-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ben.hovinga.me/2012/05/19/crossing-canada-day-3-2/</feedburner:origLink></item>
		<item>
		<title>Crossing Canada: Day 2</title>
		<link>http://feedproxy.google.com/~r/BenHovinga/~3/-3zz4TKDDz0/</link>
		<comments>http://ben.hovinga.me/2012/05/18/crossing-canada-day-2-2/#comments</comments>
		<pubDate>Sat, 19 May 2012 05:18:00 +0000</pubDate>
		<dc:creator>Ben Hovinga</dc:creator>
				<category><![CDATA[Road Trip]]></category>
		<category><![CDATA[calgary]]></category>
		<category><![CDATA[Road trip]]></category>

		<guid isPermaLink="false">http://ben.hovinga.me/?p=927</guid>
		<description><![CDATA[Kamloops to Calgary. Very shortly after we left Kamloops we seen the Google street view car on the highway. There was no traffic so we got here very quick. We were going to stop in Banff but missed the turn &#8230; <a href="http://ben.hovinga.me/2012/05/18/crossing-canada-day-2-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Kamloops to Calgary.<br />
Very shortly after we left Kamloops we seen the Google street view car on the highway. There was no traffic so we got here very quick. We were going to stop in Banff but missed the turn off so we didn&#8217;t bother. Seen some snow while going through the mountains which was nice since there was no snow this winter back where I was living in BC. In Calgary now and we are staying at a friends place high school. </p>
<p><a alt="image" href="http://ben.hovinga.me/files/2012/05/wpid-20120518_1351323.jpg"><img title="20120518_135132.jpg" class="alignnone" alt="image" src="http://ben.hovinga.me/files/2012/05/wpid-20120518_1351322.jpg" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/iAxk0sVHM0MkgGI5qE1-y_k2BHE/0/da"><img src="http://feedads.g.doubleclick.net/~a/iAxk0sVHM0MkgGI5qE1-y_k2BHE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/iAxk0sVHM0MkgGI5qE1-y_k2BHE/1/da"><img src="http://feedads.g.doubleclick.net/~a/iAxk0sVHM0MkgGI5qE1-y_k2BHE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BenHovinga?a=-3zz4TKDDz0:mfYZXkqpr-0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=-3zz4TKDDz0:mfYZXkqpr-0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=-3zz4TKDDz0:mfYZXkqpr-0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=-3zz4TKDDz0:mfYZXkqpr-0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=-3zz4TKDDz0:mfYZXkqpr-0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=-3zz4TKDDz0:mfYZXkqpr-0:F7zBnMyn0Lo" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ben.hovinga.me/2012/05/18/crossing-canada-day-2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ben.hovinga.me/2012/05/18/crossing-canada-day-2-2/</feedburner:origLink></item>
		<item>
		<title>Crossing Canada: Day 1</title>
		<link>http://feedproxy.google.com/~r/BenHovinga/~3/OWNaywtT5yY/</link>
		<comments>http://ben.hovinga.me/2012/05/17/crossing-canada-day-1/#comments</comments>
		<pubDate>Fri, 18 May 2012 04:53:00 +0000</pubDate>
		<dc:creator>Ben Hovinga</dc:creator>
				<category><![CDATA[Road Trip]]></category>
		<category><![CDATA[Kamloops]]></category>
		<category><![CDATA[Road trip]]></category>

		<guid isPermaLink="false">http://ben.hovinga.me/?p=913</guid>
		<description><![CDATA[Victoria to Kamloops. Started off with bad traffic, but once past the Vancouver area we were making good time. Stopped in Flood-Hope for lunch at this nice truck stop dinner. I was amazed by the mountains although my car didn&#8217;t. &#8230; <a href="http://ben.hovinga.me/2012/05/17/crossing-canada-day-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Victoria to Kamloops.<br />
Started off with bad traffic, but once past the Vancouver area we were making good time. Stopped in Flood-Hope for lunch at this nice truck stop dinner. I was amazed by the mountains although my car didn&#8217;t. We are in Kamloops for the night within walking distance of downtown. We walked to pub downtown called Central Station Pub, I liked the environment and the beer but we got no service. I wanted to order some food but she came and asked what we wanted to drink, she never asked if we wanted to see a menu or even came back and asked if we were good.<br />
<a alt="image" href="http://ben.hovinga.me/files/2012/05/wpid-20120517_1221003.jpg"><img title="20120517_122100.jpg" class="alignnone" alt="image" src="http://ben.hovinga.me/files/2012/05/wpid-20120517_1221002.jpg" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/HP6LWZjRqAPfCB0XvFaB0sehUAM/0/da"><img src="http://feedads.g.doubleclick.net/~a/HP6LWZjRqAPfCB0XvFaB0sehUAM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/HP6LWZjRqAPfCB0XvFaB0sehUAM/1/da"><img src="http://feedads.g.doubleclick.net/~a/HP6LWZjRqAPfCB0XvFaB0sehUAM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BenHovinga?a=OWNaywtT5yY:96tG9hovJ6M:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=OWNaywtT5yY:96tG9hovJ6M:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=OWNaywtT5yY:96tG9hovJ6M:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=OWNaywtT5yY:96tG9hovJ6M:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=OWNaywtT5yY:96tG9hovJ6M:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=OWNaywtT5yY:96tG9hovJ6M:F7zBnMyn0Lo" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ben.hovinga.me/2012/05/17/crossing-canada-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ben.hovinga.me/2012/05/17/crossing-canada-day-1/</feedburner:origLink></item>
		<item>
		<title>Crossing Canada: Day 0</title>
		<link>http://feedproxy.google.com/~r/BenHovinga/~3/PpDKwl9ppaI/</link>
		<comments>http://ben.hovinga.me/2012/05/16/crossing-canada-day-0/#comments</comments>
		<pubDate>Thu, 17 May 2012 05:00:00 +0000</pubDate>
		<dc:creator>Ben Hovinga</dc:creator>
				<category><![CDATA[Road Trip]]></category>
		<category><![CDATA[Road trip]]></category>
		<category><![CDATA[victoria]]></category>

		<guid isPermaLink="false">http://ben.hovinga.me/?p=904</guid>
		<description><![CDATA[So I am going to be driving across Canada starting tomorrow. I thought I would share the adventures here on my blog. I am going to be driving from Victoria, BC to Halifax, NS. It will take me 12 days &#8230; <a href="http://ben.hovinga.me/2012/05/16/crossing-canada-day-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I am going to be driving across Canada starting tomorrow. I thought I would share the adventures here on my blog.<br />
I am going to be driving from Victoria, BC to Halifax, NS. It will take me 12 days with a stop in my hometown for 4 days. On the way I will be updating my blog using the Android WordPress app, and I will add a photo from places that we visited. I will be taking many photos on the way and hopefully as I am going across I can put them on Flickr, if not I will add them all at the end of my trip.<br />
So why am I driving to Halifax? I have finished my military schooling here in Victoria and now I am going to CFB Halifax to start my career in the Royal Canadian Navy.<br />
This is it my journey starts tomorrow. <a alt="image" href="http://ben.hovinga.me/files/2012/05/wpid-20120516_1846433.jpg"><img title="20120516_184643.jpg" class="alignnone" alt="image" src="http://ben.hovinga.me/files/2012/05/wpid-20120516_1846432.jpg" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/immGjK35JOw8GlROotH4dOJT5MQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/immGjK35JOw8GlROotH4dOJT5MQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/immGjK35JOw8GlROotH4dOJT5MQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/immGjK35JOw8GlROotH4dOJT5MQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BenHovinga?a=PpDKwl9ppaI:PvPOkdH5p-0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=PpDKwl9ppaI:PvPOkdH5p-0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=PpDKwl9ppaI:PvPOkdH5p-0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=PpDKwl9ppaI:PvPOkdH5p-0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=PpDKwl9ppaI:PvPOkdH5p-0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=PpDKwl9ppaI:PvPOkdH5p-0:F7zBnMyn0Lo" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ben.hovinga.me/2012/05/16/crossing-canada-day-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ben.hovinga.me/2012/05/16/crossing-canada-day-0/</feedburner:origLink></item>
		<item>
		<title>Victoria Time Lapse</title>
		<link>http://feedproxy.google.com/~r/BenHovinga/~3/Bcsy3A2bmn8/</link>
		<comments>http://ben.hovinga.me/2012/03/27/victoria-time-lapse/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 23:23:06 +0000</pubDate>
		<dc:creator>Ben Hovinga</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[bc]]></category>
		<category><![CDATA[british columbia]]></category>
		<category><![CDATA[canada]]></category>
		<category><![CDATA[lapse]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[victoria]]></category>

		<guid isPermaLink="false">http://ben.hovinga.me/?p=893</guid>
		<description><![CDATA[So I spent all weekend around Victoria, BC and took over 8991 time lapse photos and put it all in a video.]]></description>
			<content:encoded><![CDATA[<p>So I spent all weekend around Victoria, BC and took over 8991 time lapse photos and put it all in a video.</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/0PCYaFNgnoU" frameborder="0" allowfullscreen></iframe></p>

<p><a href="http://feedads.g.doubleclick.net/~a/esXBf1v-GJkSnp41DK3_eGh1_To/0/da"><img src="http://feedads.g.doubleclick.net/~a/esXBf1v-GJkSnp41DK3_eGh1_To/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/esXBf1v-GJkSnp41DK3_eGh1_To/1/da"><img src="http://feedads.g.doubleclick.net/~a/esXBf1v-GJkSnp41DK3_eGh1_To/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Bcsy3A2bmn8:mBmVdxdi0Tg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Bcsy3A2bmn8:mBmVdxdi0Tg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=Bcsy3A2bmn8:mBmVdxdi0Tg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Bcsy3A2bmn8:mBmVdxdi0Tg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Bcsy3A2bmn8:mBmVdxdi0Tg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=Bcsy3A2bmn8:mBmVdxdi0Tg:F7zBnMyn0Lo" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ben.hovinga.me/2012/03/27/victoria-time-lapse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ben.hovinga.me/2012/03/27/victoria-time-lapse/</feedburner:origLink></item>
		<item>
		<title>What have I been up to?</title>
		<link>http://feedproxy.google.com/~r/BenHovinga/~3/Bv5eWYez-Ig/</link>
		<comments>http://ben.hovinga.me/2012/03/19/what-have-i-been-up-to/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 04:35:21 +0000</pubDate>
		<dc:creator>Ben Hovinga</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[albums]]></category>
		<category><![CDATA[driving]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[trip]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://ben.hovinga.me/?p=878</guid>
		<description><![CDATA[So it has been a while since I updated people on what I was doing. Other than some programs that I have posted on my blog there are a few new things going on. I am on my course for &#8230; <a href="http://ben.hovinga.me/2012/03/19/what-have-i-been-up-to/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So it has been a while since I updated people on what I was doing. Other than some programs that I have posted on my blog there are a few new things going on. I am on my course for the Canadian Navy and I am learning how to do my job. Its a 3 month course and I am about half way done now. Those who actually read this know that I moved to beautiful <a href="http://g.co/maps/4fpg5">Victoria, British Columbia</a> and have been living here for the last 7 months. I have had a lot of fun with my camera and the new (old) car I just bought. I did a lot of hiking around the area and took some nice photos. If you ever want to see my latest photography just go visit my <a href="http://www.flickr.com/photos/agnivohneb/" title="Flickr: agnivohneb's Photostream">flickr page</a> for the goods. Here are some of the latest work just for you.</p>
<p>These few albums are from <strong><a href="http://g.co/maps/z28um" title="Mount Douglas Park">Mount Douglas Park</a></strong>. I visit this mountain a lot because it is so close.</p>
<p><a href="http://www.flickr.com/photos/agnivohneb/sets/72157629165980099/">2012-02-04</a><!-- Awesome Flickr Gallery Start --><!-- - Version - 3.2.10 - User ID - 29391893@N07 - Photoset ID - 72157629165980099 - Gallery ID -  - Group ID -  - Tags -  - Popular -  - Per Page - 4 - Sort Order - flickr - Photo Size - _m - Custom Size - 0 - Square - false - Captions - off - Description - off - Columns - 2 - Credit Note - off - Background Color - Transparent - Width - auto - Pagination - on - Slideshow - highslide - Disable slideshow? - --><div class='afg-gallery custom-gallery-3' style='background-color:Transparent; width:100%; color:; border-color:Transparent;'><div class='highslide-gallery'><div class='afg-table' style='width:100%'><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 3 })' href='http://farm8.staticflickr.com/7016/6820614115_699e02507c_b.jpg' title='_DSC5290.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6820614115/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7016/6820614115_699e02507c_m.jpg' alt='_DSC5290.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6820614115/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 3 })' href='http://farm8.staticflickr.com/7152/6820682335_7d7c517578_b.jpg' title='_DSC5295.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6820682335/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7152/6820682335_7d7c517578_m.jpg' alt='_DSC5295.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6820682335/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 3 })' href='http://farm8.staticflickr.com/7023/6820697193_1aa565bc65_b.jpg' title='_DSC5307.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6820697193/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7023/6820697193_1aa565bc65_m.jpg' alt='_DSC5307.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6820697193/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 3 })' href='http://farm8.staticflickr.com/7151/6821242721_436ff0e9f2_b.jpg' title='_DSC5482.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6821242721/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7151/6821242721_436ff0e9f2_m.jpg' alt='_DSC5482.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6821242721/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div><a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 3 })' href='http://farm8.staticflickr.com/7014/6821310093_a0eb7cd214_b.jpg' title='_DSC5510.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6821310093/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC5510.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6821310093/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7014/6821310093_a0eb7cd214_s.jpg' width='75' height='75'></a> </div></div><div class='afg-pagination'><br /><br /><font class='afg-page'>&nbsp;&#171; prev&nbsp;</font>&nbsp;&nbsp;&nbsp;&nbsp;<font class='afg-cur-page'> 1 </font>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg3_page_id=2' title='Page 2'>&nbsp;2 </a>&nbsp;&nbsp;&nbsp;&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg3_page_id=2' title='Next Page'> next &#187; </a>&nbsp;<br />(5 Photos)</div></div><!-- Awesome Flickr Gallery End --><span id="more-878"></span><br />
<a href="http://www.flickr.com/photos/agnivohneb/sets/72157629294790833/">2012-02-12</a><!-- Awesome Flickr Gallery Start --><!-- - Version - 3.2.10 - User ID - 29391893@N07 - Photoset ID - 72157629294790833 - Gallery ID -  - Group ID -  - Tags -  - Popular -  - Per Page - 4 - Sort Order - flickr - Photo Size - _m - Custom Size - 0 - Square - false - Captions - off - Description - off - Columns - 2 - Credit Note - off - Background Color - Transparent - Width - auto - Pagination - on - Slideshow - highslide - Disable slideshow? - --><div class='afg-gallery custom-gallery-4' style='background-color:Transparent; width:100%; color:; border-color:Transparent;'><div class='highslide-gallery'><div class='afg-table' style='width:100%'><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 4 })' href='http://farm8.staticflickr.com/7056/6866829721_121151e93f_b.jpg' title='_DSC5652.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6866829721/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7056/6866829721_121151e93f_m.jpg' alt='_DSC5652.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6866829721/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 4 })' href='http://farm8.staticflickr.com/7196/6866859083_d0eabe9884_b.jpg' title='_DSC5660.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6866859083/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7196/6866859083_d0eabe9884_m.jpg' alt='_DSC5660.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6866859083/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div></div></div></div><!-- Awesome Flickr Gallery End --><br />
<a href="http://www.flickr.com/photos/agnivohneb/sets/72157629172798104/">2012-03-07</a><!-- Awesome Flickr Gallery Start --><!-- - Version - 3.2.10 - User ID - 29391893@N07 - Photoset ID - 72157629172798104 - Gallery ID -  - Group ID -  - Tags -  - Popular -  - Per Page - 4 - Sort Order - flickr - Photo Size - _m - Custom Size - 0 - Square - false - Captions - off - Description - off - Columns - 2 - Credit Note - off - Background Color - Transparent - Width - auto - Pagination - on - Slideshow - highslide - Disable slideshow? - --><div class='afg-gallery custom-gallery-5' style='background-color:Transparent; width:100%; color:; border-color:Transparent;'><div class='highslide-gallery'><div class='afg-table' style='width:100%'><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7060/6963407307_80fc4cb895_b.jpg' title='_DSC6547.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963407307/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7060/6963407307_80fc4cb895_m.jpg' alt='_DSC6547.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963407307/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7186/6963409259_417b4bf90c_b.jpg' title='_DSC6551.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963409259/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7186/6963409259_417b4bf90c_m.jpg' alt='_DSC6551.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963409259/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7064/6963411535_e613354c86_b.jpg' title='_DSC6554.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963411535/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7064/6963411535_e613354c86_m.jpg' alt='_DSC6554.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963411535/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7040/6963415841_32ea91c558_b.jpg' title='_DSC6561.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963415841/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7040/6963415841_32ea91c558_m.jpg' alt='_DSC6561.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963415841/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div><a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7053/6963416725_432f055521_b.jpg' title='_DSC6563.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963416725/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6563.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963416725/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7053/6963416725_432f055521_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7050/6963420415_147b910928_b.jpg' title='_DSC6570.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963420415/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6570.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963420415/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7050/6963420415_147b910928_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7200/6817308292_692ef2d2b3_b.jpg' title='_DSC6585.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817308292/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6585.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817308292/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7200/6817308292_692ef2d2b3_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7048/6963440765_50c1e9405c_b.jpg' title='_DSC6603.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963440765/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6603.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963440765/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7048/6963440765_50c1e9405c_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7050/6963447913_d74f581115_b.jpg' title='_DSC6616.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963447913/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6616.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963447913/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7050/6963447913_d74f581115_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7036/6817328794_bacdfefc4b_b.jpg' title='_DSC6622.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817328794/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6622.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817328794/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7036/6817328794_bacdfefc4b_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7063/6817329536_0b7bfe9d79_b.jpg' title='_DSC6624.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817329536/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6624.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817329536/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7063/6817329536_0b7bfe9d79_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7205/6817330888_dbd8d6e91b_b.jpg' title='_DSC6626.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817330888/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6626.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817330888/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7205/6817330888_dbd8d6e91b_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7052/6963453889_3c8458a62f_b.jpg' title='_DSC6628.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963453889/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6628.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6963453889/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7052/6963453889_3c8458a62f_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7060/6817334590_52acdd1aae_b.jpg' title='Victoria Lights&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Taken from the top of Mount Douglas looking SSW towards the downtown core of Victoria.&lt;br /&gt;&lt;br /&gt;I went with a friend to the top of Mount Douglas to watch the sunset (and take some photos) I asked her to stay with me for an hour or so after the sunset so I can try this type of photography. This is the first time attempting something like this and I am very satisfied how it turned out.&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817334590/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='Victoria Lights&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Taken from the top of Mount Douglas looking SSW towards the downtown core of Victoria.&lt;br /&gt;&lt;br /&gt;I went with a friend to the top of Mount Douglas to watch the sunset (and take some photos) I asked her to stay with me for an hour or so after the sunset so I can try this type of photography. This is the first time attempting something like this and I am very satisfied how it turned out.&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817334590/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7060/6817334590_52acdd1aae_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 5 })' href='http://farm8.staticflickr.com/7048/6817335284_e7325b2674_b.jpg' title='_DSC6632.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817335284/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6632.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6817335284/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7048/6817335284_e7325b2674_s.jpg' width='75' height='75'></a> </div></div><div class='afg-pagination'><br /><br /><font class='afg-page'>&nbsp;&#171; prev&nbsp;</font>&nbsp;&nbsp;&nbsp;&nbsp;<font class='afg-cur-page'> 1 </font>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg5_page_id=2' title='Page 2'>&nbsp;2 </a>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg5_page_id=3' title='Page 3'>&nbsp;3 </a>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg5_page_id=4' title='Page 4'>&nbsp;4 </a>&nbsp;&nbsp;&nbsp;&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg5_page_id=2' title='Next Page'> next &#187; </a>&nbsp;<br />(15 Photos)</div></div><!-- Awesome Flickr Gallery End --></p>
<p>This album was taken at <a href="http://g.co/maps/frp4g">Clover Point Park</a>. This is also very close to me and its a great walk along the waterfront.</p>
<p><a href="http://www.flickr.com/photos/agnivohneb/sets/72157629463155249/">2012-02-26</a><!-- Awesome Flickr Gallery Start --><!-- - Version - 3.2.10 - User ID - 29391893@N07 - Photoset ID - 72157629463155249 - Gallery ID -  - Group ID -  - Tags -  - Popular -  - Per Page - 4 - Sort Order - flickr - Photo Size - _m - Custom Size - 0 - Square - false - Captions - off - Description - off - Columns - 2 - Credit Note - off - Background Color - Transparent - Width - auto - Pagination - on - Slideshow - highslide - Disable slideshow? - --><div class='afg-gallery custom-gallery-6' style='background-color:Transparent; width:100%; color:; border-color:Transparent;'><div class='highslide-gallery'><div class='afg-table' style='width:100%'><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 6 })' href='http://farm8.staticflickr.com/7069/6933663365_efba6ca14d_b.jpg' title='_DSC6364.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6933663365/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7069/6933663365_efba6ca14d_m.jpg' alt='_DSC6364.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6933663365/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 6 })' href='http://farm8.staticflickr.com/7069/6933789931_23e2030344_b.jpg' title='_DSC6466.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6933789931/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7069/6933789931_23e2030344_m.jpg' alt='_DSC6466.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6933789931/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 6 })' href='http://farm8.staticflickr.com/7198/6787681748_4771cabc30_b.jpg' title='_DSC6472.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6787681748/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7198/6787681748_4771cabc30_m.jpg' alt='_DSC6472.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6787681748/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 6 })' href='http://farm8.staticflickr.com/7204/6787682740_38e23815c9_b.jpg' title='_DSC6473.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6787682740/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7204/6787682740_38e23815c9_m.jpg' alt='_DSC6473.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6787682740/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div></div></div></div><!-- Awesome Flickr Gallery End --></p>
<p>This next album was taken at Cattle Point. Its hidden away and I almost missed the turn onto Scenic Dr. but I found it and its an amazing spot. These photos are my first attempt at night photography.</p>
<p><a href="http://www.flickr.com/photos/agnivohneb/sets/72157629150571444/">2012-03-04</a><!-- Awesome Flickr Gallery Start --><!-- - Version - 3.2.10 - User ID - 29391893@N07 - Photoset ID - 72157629150571444 - Gallery ID -  - Group ID -  - Tags -  - Popular -  - Per Page - 4 - Sort Order - flickr - Photo Size - _m - Custom Size - 0 - Square - false - Captions - off - Description - off - Columns - 2 - Credit Note - off - Background Color - Transparent - Width - auto - Pagination - on - Slideshow - highslide - Disable slideshow? - --><div class='afg-gallery custom-gallery-7' style='background-color:Transparent; width:100%; color:; border-color:Transparent;'><div class='highslide-gallery'><div class='afg-table' style='width:100%'><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 7 })' href='http://farm8.staticflickr.com/7176/6808549790_6d4ee50369_b.jpg' title='_DSC6524.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6808549790/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7176/6808549790_6d4ee50369_m.jpg' alt='_DSC6524.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6808549790/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 7 })' href='http://farm8.staticflickr.com/7037/6954661187_2db5d0a1ba_b.jpg' title='_DSC6528.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6954661187/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7037/6954661187_2db5d0a1ba_m.jpg' alt='_DSC6528.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6954661187/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 7 })' href='http://farm8.staticflickr.com/7198/6808554794_167fddb22e_b.jpg' title='_DSC6530.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6808554794/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7198/6808554794_167fddb22e_m.jpg' alt='_DSC6530.JPG&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Effortlessly uploaded by &lt;a href=&quot;http://www.eye.fi&quot; rel=&quot;nofollow&quot;&gt;Eye-Fi&lt;/a&gt;&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6808554794/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div></div></div></div><!-- Awesome Flickr Gallery End --></p>
<p>This album is at the <a href="http://g.co/maps/mnnd4">Sooke Potholes</a>. It was better then I expected and worth the 45 minute drive to get there. I just wish I could go back there in the summer time.</p>
<p><a href="http://www.flickr.com/photos/agnivohneb/sets/72157629556148601/">2012-03-10</a><!-- Awesome Flickr Gallery Start --><!-- - Version - 3.2.10 - User ID - 29391893@N07 - Photoset ID - 72157629556148601 - Gallery ID -  - Group ID -  - Tags -  - Popular -  - Per Page - 4 - Sort Order - flickr - Photo Size - _m - Custom Size - 0 - Square - false - Captions - off - Description - off - Columns - 2 - Credit Note - off - Background Color - Transparent - Width - auto - Pagination - on - Slideshow - highslide - Disable slideshow? - --><div class='afg-gallery custom-gallery-8' style='background-color:Transparent; width:100%; color:; border-color:Transparent;'><div class='highslide-gallery'><div class='afg-table' style='width:100%'><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7066/6970593457_5f21e7b99b_b.jpg' title='_DSC6695.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970593457/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7066/6970593457_5f21e7b99b_m.jpg' alt='_DSC6695.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970593457/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7182/6970596261_3a05c387a9_b.jpg' title='_DSC6697.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970596261/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7182/6970596261_3a05c387a9_m.jpg' alt='_DSC6697.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970596261/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7060/6970597995_d7c1059e49_b.jpg' title='_DSC6698.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970597995/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7060/6970597995_d7c1059e49_m.jpg' alt='_DSC6698.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970597995/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7190/6970600995_d4996fb8a2_b.jpg' title='_DSC6700.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970600995/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7190/6970600995_d4996fb8a2_m.jpg' alt='_DSC6700.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970600995/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div><a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7052/6824481612_2a853b7001_b.jpg' title='_DSC6702.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824481612/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6702.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824481612/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7052/6824481612_2a853b7001_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7036/6824588072_f51c4e169c_b.jpg' title='_DSC6820.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824588072/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6820.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824588072/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7036/6824588072_f51c4e169c_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7205/6824589772_ea413d463f_b.jpg' title='_DSC6822.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824589772/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6822.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824589772/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7205/6824589772_ea413d463f_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7203/6970714393_6e9320cd0c_b.jpg' title='_DSC6823.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970714393/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6823.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970714393/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7203/6970714393_6e9320cd0c_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7210/6824596074_b4eccd5c52_b.jpg' title='Falls of Sooke&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Sooke Potholes&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824596074/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='Falls of Sooke&lt;br /&gt;&lt;span style=&quot;font-size:0.8em;&quot;&gt;Sooke Potholes&lt;/span&gt; • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824596074/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7210/6824596074_b4eccd5c52_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7182/6824603438_37aa81f017_b.jpg' title='_DSC6837.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824603438/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6837.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824603438/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7182/6824603438_37aa81f017_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7040/6970731179_638cbcd795_b.jpg' title='_DSC6842.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970731179/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6842.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970731179/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7040/6970731179_638cbcd795_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7210/6970735607_c7be351c1c_b.jpg' title='_DSC6848.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970735607/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6848.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6970735607/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7210/6970735607_c7be351c1c_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 8 })' href='http://farm8.staticflickr.com/7193/6824645504_ca353c330c_b.jpg' title='_DSC6878.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824645504/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6878.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6824645504/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7193/6824645504_ca353c330c_s.jpg' width='75' height='75'></a> </div></div><div class='afg-pagination'><br /><br /><font class='afg-page'>&nbsp;&#171; prev&nbsp;</font>&nbsp;&nbsp;&nbsp;&nbsp;<font class='afg-cur-page'> 1 </font>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg8_page_id=2' title='Page 2'>&nbsp;2 </a>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg8_page_id=3' title='Page 3'>&nbsp;3 </a>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg8_page_id=4' title='Page 4'>&nbsp;4 </a>&nbsp;&nbsp;&nbsp;&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg8_page_id=2' title='Next Page'> next &#187; </a>&nbsp;<br />(13 Photos)</div></div><!-- Awesome Flickr Gallery End --></p>
<p>Now the most recent place I visited, the longest distance I traveled on the island and the most amazing place I have been yet. It is <a href="http://g.co/maps/w4uae">Juan de Fuca Provincial Park</a> in<a href="http://g.co/maps/79yxh"> Port Renfrew, British Columbia</a>. Even if this place was not cool I had a blast driving the 2 hours through the mountains to get here so that was at least worth it. When I got there I was even more amazed.</p>
<p><a href="http://www.flickr.com/photos/agnivohneb/sets/72157629607133717/">2012-03-17</a><!-- Awesome Flickr Gallery Start --><!-- - Version - 3.2.10 - User ID - 29391893@N07 - Photoset ID - 72157629607133717 - Gallery ID -  - Group ID -  - Tags -  - Popular -  - Per Page - 4 - Sort Order - flickr - Photo Size - _m - Custom Size - 0 - Square - false - Captions - off - Description - off - Columns - 2 - Credit Note - off - Background Color - Transparent - Width - auto - Pagination - on - Slideshow - highslide - Disable slideshow? - --><div class='afg-gallery custom-gallery-9' style='background-color:Transparent; width:100%; color:; border-color:Transparent;'><div class='highslide-gallery'><div class='afg-table' style='width:100%'><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7184/6845198042_26b9caaf25_b.jpg' title='_DSC6926.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845198042/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7184/6845198042_26b9caaf25_m.jpg' alt='_DSC6926.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845198042/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7044/6845198580_3a38fed106_b.jpg' title='_DSC6927.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845198580/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7044/6845198580_3a38fed106_m.jpg' alt='_DSC6927.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845198580/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div><div class='afg-row'><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7062/6991326501_800031824d_b.jpg' title='Ready for Spring • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991326501/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7062/6991326501_800031824d_m.jpg' alt='Ready for Spring • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991326501/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div><div class='afg-cell' style='width:50%;'><a class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7209/6845200716_75311cee30_b.jpg' title='_DSC6930.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845200716/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'><img class='afg-img' src='http://farm8.static.flickr.com/7209/6845200716_75311cee30_m.jpg' alt='_DSC6930.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845200716/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'/></a></div></div><a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7046/6991328695_fbee2385b7_b.jpg' title='_DSC6931.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991328695/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6931.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991328695/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7046/6991328695_fbee2385b7_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7060/6845202172_ec8cc007eb_b.jpg' title='_DSC6932.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845202172/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6932.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845202172/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7060/6845202172_ec8cc007eb_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7068/6991342047_37196375a4_b.jpg' title='_DSC6949.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991342047/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6949.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991342047/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7068/6991342047_37196375a4_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7177/6845221528_897dd2f6b3_b.jpg' title='_DSC6955.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845221528/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6955.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845221528/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7177/6845221528_897dd2f6b3_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7050/6991351273_ac513315ec_b.jpg' title='Marking a Path • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991351273/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='Marking a Path • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991351273/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7050/6991351273_ac513315ec_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7052/6845225242_97fc8e9a71_b.jpg' title='_DSC6959.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845225242/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6959.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845225242/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7052/6845225242_97fc8e9a71_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7184/6991357241_c8ba2f3cbf_b.jpg' title='_DSC6965.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991357241/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6965.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991357241/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7184/6991357241_c8ba2f3cbf_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7182/6991359709_0b7971cb5c_b.jpg' title='_DSC6968.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991359709/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC6968.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991359709/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7182/6991359709_0b7971cb5c_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7058/6991398991_f8fff1f67e_b.jpg' title='Steller&#039;s Jay • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991398991/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='Steller&#039;s Jay • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991398991/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7058/6991398991_f8fff1f67e_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7046/6845277624_c7806c15c3_b.jpg' title='_DSC7018.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845277624/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7018.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845277624/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7046/6845277624_c7806c15c3_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7206/6991405817_46e9b4c433_b.jpg' title='_DSC7021.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991405817/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7021.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991405817/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7206/6991405817_46e9b4c433_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7054/6845280500_07e75b8108_b.jpg' title='_DSC7024.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845280500/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7024.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845280500/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7054/6845280500_07e75b8108_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7064/6845281270_d211fa4010_b.jpg' title='_DSC7022.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845281270/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7022.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845281270/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7064/6845281270_d211fa4010_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7197/6991409335_3a3fb684e5_b.jpg' title='_DSC7025.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991409335/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7025.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991409335/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7197/6991409335_3a3fb684e5_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7185/6991519435_fa24b4bd4a_b.jpg' title='_DSC7157.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991519435/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7157.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991519435/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7185/6991519435_fa24b4bd4a_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7195/6991530105_56f365d48f_b.jpg' title='_DSC7172.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991530105/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7172.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991530105/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7195/6991530105_56f365d48f_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7202/6991599409_ca3f77487a_b.jpg' title='_DSC7249.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991599409/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7249.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991599409/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7202/6991599409_ca3f77487a_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7069/6845480296_9a1de1f014_b.jpg' title='_DSC7257.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845480296/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7257.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845480296/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7069/6845480296_9a1de1f014_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7188/6991608875_d4645840ef_b.jpg' title='_DSC7258.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991608875/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7258.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991608875/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7188/6991608875_d4645840ef_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7041/6845483134_a4419ddde0_b.jpg' title='_DSC7261.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845483134/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7261.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845483134/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7041/6845483134_a4419ddde0_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7043/6991619175_d49a810e5c_b.jpg' title='_DSC7274.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991619175/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7274.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6991619175/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7043/6991619175_d49a810e5c_s.jpg' width='75' height='75'></a> <a style='display:none' class='highslide'  onclick='return hs.expand(this, {slideshowGroup: 9 })' href='http://farm8.staticflickr.com/7051/6845493526_6b108c730d_b.jpg' title='_DSC7276.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845493526/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;'> <img alt='_DSC7276.JPG • &lt;a style=&quot;font-size:0.8em;&quot; href=&quot;http://www.flickr.com/photos/29391893@N07/6845493526/&quot; target=&quot;_blank&quot;&gt;View on Flickr&lt;/a&gt;' src='http://farm8.static.flickr.com/7051/6845493526_6b108c730d_s.jpg' width='75' height='75'></a> </div></div><div class='afg-pagination'><br /><br /><font class='afg-page'>&nbsp;&#171; prev&nbsp;</font>&nbsp;&nbsp;&nbsp;&nbsp;<font class='afg-cur-page'> 1 </font>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg9_page_id=2' title='Page 2'>&nbsp;2 </a>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg9_page_id=3' title='Page 3'>&nbsp;3 </a>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg9_page_id=4' title='Page 4'>&nbsp;4 </a>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg9_page_id=5' title='Page 5'>&nbsp;5 </a>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg9_page_id=6' title='Page 6'>&nbsp;6 </a>&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg9_page_id=7' title='Page 7'>&nbsp;7 </a>&nbsp;&nbsp;&nbsp;&nbsp;<a class='afg-page' href='http://ben.hovinga.me/feed/?afg9_page_id=2' title='Next Page'> next &#187; </a>&nbsp;<br />(26 Photos)</div></div><!-- Awesome Flickr Gallery End --></p>
<p>Now to conclude, visit my flickr stream and be amazed at all of my work. And check back often as I will be posting more photos. My plan is to visit someplace new every weekend until I leave and do my big trip across Canada to Halifax and I can guarantee that there will be amazing photos from that.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/cmO8Hyt3LpWOVv9LVTA92SA17XE/0/da"><img src="http://feedads.g.doubleclick.net/~a/cmO8Hyt3LpWOVv9LVTA92SA17XE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/cmO8Hyt3LpWOVv9LVTA92SA17XE/1/da"><img src="http://feedads.g.doubleclick.net/~a/cmO8Hyt3LpWOVv9LVTA92SA17XE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Bv5eWYez-Ig:LfcuzKe21EQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Bv5eWYez-Ig:LfcuzKe21EQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=Bv5eWYez-Ig:LfcuzKe21EQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Bv5eWYez-Ig:LfcuzKe21EQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=Bv5eWYez-Ig:LfcuzKe21EQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=Bv5eWYez-Ig:LfcuzKe21EQ:F7zBnMyn0Lo" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ben.hovinga.me/2012/03/19/what-have-i-been-up-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ben.hovinga.me/2012/03/19/what-have-i-been-up-to/</feedburner:origLink></item>
		<item>
		<title>Morse Code v2.3 [Arduino Project]</title>
		<link>http://feedproxy.google.com/~r/BenHovinga/~3/G_ET3ndyyVI/</link>
		<comments>http://ben.hovinga.me/2012/03/18/morse-code-v2-3-arduino-project/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 02:25:18 +0000</pubDate>
		<dc:creator>Ben Hovinga</dc:creator>
				<category><![CDATA[Arduino Projects]]></category>
		<category><![CDATA[Morse Code Converter]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[morse code]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://ben.hovinga.me/?p=866</guid>
		<description><![CDATA[So I have done a little more work on this. You may also notice that v2.2 was skipped. This is because it is mostly minor fixes. In this version there are more comments, and I added a few new commands. &#8230; <a href="http://ben.hovinga.me/2012/03/18/morse-code-v2-3-arduino-project/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I have done a little more work on this. You may also notice that v2.2 was skipped. This is because it is mostly minor fixes. In this version there are more comments, and I added a few new commands.<br />
The new commands are:</p>
<ul>
<li>/rand</li>
<ul>
<li>This command will generate a random message of 4 blocks of 5 letters each.</li>
<li>It will also send to the terminal what the new message is.</li>
<li>This is great for practice without knowing what the message is. Just send /rand and then look at the light. When it is done look at the terminal and see if you were right.</li>
</ul>
<li>/on and /off</li>
<ul>
<li>These commands will hold the light in the on or off position.</li>
<li>Great for a desk lamp. Just hook it up with a bluetooth module and when your not using the morse code just tell the light to stay on.</li>
<li>Also good for remote controlling your light</li>
</ul>
<li>/message</li>
<ul>
<li>This will just display what the current message is stored on the arduino.</li>
</ul>
<li>+&lt;message&gt;</li>
<ul>
<li>This will add more to the end of the message.</li>
</ul>
</ul>
<p>I have more plans for this project to evolve but so far I am taking a break and focusing on other projects.<br />
<span id="more-866"></span></p>
<pre style='color:#000000;background:#ffffff;'><span style='color:#696969; '>// Morse Code Converter v2.3</span>
<span style='color:#696969; '>// By Ben Hovinga</span>
<span style='color:#696969; '>// </span><span style='color:#5555dd; '>http://ben.hovinga.me/</span><span style='color:#696969; '> </span>
<span style='color:#696969; '>// All Rights Reservered.</span>
<span style='color:#696969; '>// Copyright (C) 2012</span>

<span style='color:#696969; '>// ChangeLog at bottom. <img src='http://ben.hovinga.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span>

<span style='color:#696969; '>// Inital Message</span>
<span style='color:#603000; '>String</span> message <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>abcdefghijklmnopqrstuvwxyz[aaa] 1234567890[aaa]</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// LED pin</span>
<span style='color:#004a43; '>#</span><span style='color:#004a43; '>define</span><span style='color:#004a43; '> LEDPin 13</span>

<span style='color:#696969; '>// Speed</span>
<span style='color:#800000; font-weight:bold; '>int</span> wpm <span style='color:#808030; '>=</span> <span style='color:#008c00; '>4</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// Speed in Words Per Minute</span>

<span style='color:#696969; '>// Unit Sizes</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitDit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitDa <span style='color:#808030; '>=</span> <span style='color:#008c00; '>3</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitSymb <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitLetter <span style='color:#808030; '>=</span> <span style='color:#008c00; '>3</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitWord <span style='color:#808030; '>=</span> <span style='color:#008c00; '>7</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Calculate speed into ms.</span>
<span style='color:#800000; font-weight:bold; '>int</span> timePerUnit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1200</span><span style='color:#808030; '>/</span>wpm<span style='color:#800080; '>;</span> <span style='color:#696969; '>// 1200 for words per minute. Use 6000 for characters per minute</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeDit <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDit<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeDa <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDa<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeSymb <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitSymb<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeLetter <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitLetter<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeWord <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitWord<span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Morse Code and Referance</span>
<span style='color:#800000; font-weight:bold; '>int</span> codeSize <span style='color:#808030; '>=</span> <span style='color:#008c00; '>36</span><span style='color:#800080; '>;</span>
<span style='color:#603000; '>String</span> code<span style='color:#808030; '>[</span><span style='color:#808030; '>]</span> <span style='color:#808030; '>=</span> <span style='color:#800080; '>{</span>
  <span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.--.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-..-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.----</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>....-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>---..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>----.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-----</span><span style='color:#800000; '>"</span><span style='color:#800080; '>}</span><span style='color:#800080; '>;</span>
<span style='color:#603000; '>String</span> coderef<span style='color:#808030; '>[</span><span style='color:#808030; '>]</span> <span style='color:#808030; '>=</span> <span style='color:#800080; '>{</span>
  <span style='color:#800000; '>"</span><span style='color:#0000e6; '>a</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>b</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>c</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>d</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>e</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>f</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>g</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>h</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>i</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>j</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>k</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>l</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>m</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>n</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>o</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>p</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>q</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>r</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>s</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>t</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>u</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>v</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>w</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>x</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>y</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>z</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>1</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>2</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>3</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>4</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>5</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>6</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>7</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>8</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>9</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>0</span><span style='color:#800000; '>"</span><span style='color:#800080; '>}</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Other vars and settings</span>
boolean running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#800080; '>;</span>
boolean proword <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#800080; '>;</span>

<span style='color:#800000; font-weight:bold; '>void</span> setup<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Make pin 13 output for LED (or later a relay).</span>
  pinMode <span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span>OUTPUT<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#696969; '>// I wanna talk with things.</span>
  Serial<span style='color:#808030; '>.</span>begin<span style='color:#808030; '>(</span><span style='color:#008c00; '>115200</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#696969; '>// Create a random seed based off the analog noise.</span>
  randomSeed<span style='color:#808030; '>(</span>analogRead<span style='color:#808030; '>(</span><span style='color:#008c00; '>0</span><span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> loop<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#800000; font-weight:bold; '>int</span> strlength <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>length<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// How big is this message anyways?</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span> <span style='color:#696969; '>// Loop the message</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>running <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#696969; '>// Find out what this letter is and the next one.</span>
      <span style='color:#603000; '>String</span> ch <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#603000; '>String</span> ch2 <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>2</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>

      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>[</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span> <span style='color:#696969; '>// Start of a proword</span>
        <span style='color:#696969; '>// Skip this pass.</span>
        proword <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>]</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span> <span style='color:#696969; '>// End of a proword</span>
        <span style='color:#696969; '>// Skip this pass.</span>
        proword <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Flash the letter.</span>
        flashLetter<span style='color:#808030; '>(</span>ch<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>

      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>proword <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Do delays if not a proword.</span>
        <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
          <span style='color:#696969; '>// New word delay.</span>
          delay<span style='color:#808030; '>(</span>timeWord<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        <span style='color:#800080; '>}</span>
        <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>!</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span> <span style='color:#808030; '>&amp;</span><span style='color:#808030; '>&amp;</span> ch2 <span style='color:#808030; '>!</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
          <span style='color:#696969; '>// New letter delay.</span>
          delay<span style='color:#808030; '>(</span>timeLetter<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        <span style='color:#800080; '>}</span>
      <span style='color:#800080; '>}</span>
    <span style='color:#800080; '>}</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>checkSerial<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span> <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span> <span style='color:#696969; '>// Check for anything from Serial</span>
      <span style='color:#696969; '>// We got some sort of command.</span>
      <span style='color:#696969; '>// Delay a bit then start the message over.</span>
      digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> LOW<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      delay <span style='color:#808030; '>(</span><span style='color:#008c00; '>2000</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>break</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
  delay<span style='color:#808030; '>(</span>timeWord<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// Hold on and wait to show the message is done.</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>int</span> getInt<span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> text<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Converts Strings into Ints</span>
  <span style='color:#800000; font-weight:bold; '>char</span> temp<span style='color:#808030; '>[</span><span style='color:#008c00; '>20</span><span style='color:#808030; '>]</span><span style='color:#800080; '>;</span>
  text<span style='color:#808030; '>.</span>toCharArray<span style='color:#808030; '>(</span>temp<span style='color:#808030; '>,</span> <span style='color:#008c00; '>19</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#603000; '>atoi</span><span style='color:#808030; '>(</span>temp<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>x <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span> <span style='color:#808030; '>&amp;</span><span style='color:#808030; '>&amp;</span> text <span style='color:#808030; '>!</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>0</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span>
  <span style='color:#800080; '>{</span>
    x <span style='color:#808030; '>=</span> <span style='color:#808030; '>-</span><span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> x<span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span> 

<span style='color:#800000; font-weight:bold; '>int</span> checkSerial <span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span> <span style='color:#696969; '>// if returning 1 then the message loop will restart.</span>
  <span style='color:#696969; '>// Check if there is data waiting from serial</span>
  <span style='color:#603000; '>String</span> input <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>int</span> <span style='color:#603000; '>count</span> <span style='color:#808030; '>=</span> Serial<span style='color:#808030; '>.</span>available<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span><span style='color:#603000; '>count</span> <span style='color:#808030; '>></span> <span style='color:#008c00; '>0</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
    <span style='color:#696969; '>// Wait for buffer and recount</span>
    delay <span style='color:#808030; '>(</span><span style='color:#008c00; '>200</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#603000; '>count</span> <span style='color:#808030; '>=</span> Serial<span style='color:#808030; '>.</span>available<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>

    <span style='color:#696969; '>// Get the buffer</span>
    <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> <span style='color:#603000; '>count</span><span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      input <span style='color:#808030; '>+</span><span style='color:#808030; '>=</span> <span style='color:#603000; '>String</span><span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>char</span><span style='color:#808030; '>(</span>Serial<span style='color:#808030; '>.</span>read<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>

    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>0</span><span style='color:#808030; '>,</span> <span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span> <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>/</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#696969; '>// Its a command</span>
      <span style='color:#800000; font-weight:bold; '>int</span> wherespace <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>indexOf<span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// find the space</span>
      <span style='color:#603000; '>String</span> comd<span style='color:#800080; '>;</span>
      <span style='color:#603000; '>String</span> value<span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>wherespace <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#808030; '>-</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span> <span style='color:#696969; '>// only a command</span>
        comd <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        value <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800080; '>{</span> <span style='color:#696969; '>// Command and a value</span>
        comd <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>,</span>wherespace<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        comd<span style='color:#808030; '>.</span>toLowerCase<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        value <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>wherespace <span style='color:#808030; '>+</span> <span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        value<span style='color:#808030; '>.</span>toLowerCase<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>

      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>wpm</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Change the words per minute.</span>
        wpm <span style='color:#808030; '>=</span> getInt <span style='color:#808030; '>(</span>value<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        WPMcalc<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Changed WPM to </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span>wpm<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>restart</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Restart the message</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Restarting message.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>stop</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Stop the message</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Stopping message.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>start</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Start the message</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Starting message.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#800080; '>;</span>
        <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>message</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Show the message to the serial.</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span>message<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>on</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Just turn the light on and keep it on.</span>
        running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#800080; '>;</span>
        digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> HIGH<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Turning light on.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>off</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Turn the light off and keep it off.</span>
        running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#800080; '>;</span>
        digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> LOW<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Turning light off.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>rand</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Generate a random message of 4 blocks of 5 letters.</span>
        message <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
        <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> <span style='color:#008c00; '>4</span><span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
          <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> y <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> y <span style='color:#808030; '>&lt;</span> <span style='color:#008c00; '>5</span><span style='color:#800080; '>;</span> y<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
            message <span style='color:#808030; '>+</span><span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>char</span><span style='color:#808030; '>(</span>random<span style='color:#808030; '>(</span><span style='color:#008c00; '>65</span><span style='color:#808030; '>,</span><span style='color:#008c00; '>91</span><span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
          <span style='color:#800080; '>}</span>
          message <span style='color:#808030; '>+</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
        <span style='color:#800080; '>}</span>
        Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Message Changed to </span><span style='color:#0f69ff; '>\"</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span>message<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0f69ff; '>\"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// The command is not right.</span>
        Serial<span style='color:#808030; '>.</span>println<span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Command Not Found.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>

    <span style='color:#800080; '>}</span>
    <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>0</span><span style='color:#808030; '>,</span> <span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span> <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>+</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#696969; '>// Add more to the message</span>
      input <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      message <span style='color:#808030; '>+</span><span style='color:#808030; '>=</span> input<span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Added </span><span style='color:#0f69ff; '>\"</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span>input<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0f69ff; '>\"</span><span style='color:#0000e6; '> to the message.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// Reset the loop</span>
    <span style='color:#800080; '>}</span>
    <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800080; '>{</span>
      <span style='color:#696969; '>// Its a message</span>
      message <span style='color:#808030; '>=</span> input<span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Message Changed to </span><span style='color:#0f69ff; '>\"</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span>message<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0f69ff; '>\"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// Reset the loop</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> WPMcalc <span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Calculates the words per minute</span>
  timePerUnit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1200</span><span style='color:#808030; '>/</span>wpm<span style='color:#800080; '>;</span> <span style='color:#696969; '>// 1200 for words per minute. Use 6000 for characters per minute</span>
  timeDit <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDit<span style='color:#800080; '>;</span>
  timeDa <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDa<span style='color:#800080; '>;</span>
  timeSymb <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitSymb<span style='color:#800080; '>;</span>
  timeLetter <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitLetter<span style='color:#800080; '>;</span>
  timeWord <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitWord<span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> flashLetter <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Flashes the letter</span>
  <span style='color:#603000; '>String</span> morseCode <span style='color:#808030; '>=</span> searchLetter <span style='color:#808030; '>(</span>character<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>int</span> strlength <span style='color:#808030; '>=</span> morseCode<span style='color:#808030; '>.</span>length<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#603000; '>String</span> ch <span style='color:#808030; '>=</span> morseCode<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> HIGH<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    delay<span style='color:#808030; '>(</span>timeDelayms<span style='color:#808030; '>(</span>ch<span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> LOW<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      delay<span style='color:#808030; '>(</span>timeSymb<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>int</span> timeDelayms <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Returns how long a dit or da is in ms.</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> timeDit<span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> timeDa<span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>else</span>
  <span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#603000; '>String</span> searchLetter <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Returns the morse code version for a character.</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> codeSize<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    character<span style='color:#808030; '>.</span>toLowerCase<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> coderef<span style='color:#808030; '>[</span>x<span style='color:#808030; '>]</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#800000; font-weight:bold; '>return</span> code<span style='color:#808030; '>[</span>x<span style='color:#808030; '>]</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#696969; '>/*</span>
<span style='color:#696969; '>CHANGELOG</span>
<span style='color:#696969; '>&#xa0;------------------------------------------------</span>
<span style='color:#696969; '>&#xa0;2012-03-11</span>
<span style='color:#696969; '>&#xa0;- Added more comments</span>
<span style='color:#696969; '>&#xa0;- Added Serial Commands</span>
<span style='color:#696969; '>&#xa0;- - /rand</span>
<span style='color:#696969; '>&#xa0;------------------------------------------------</span>
<span style='color:#696969; '>&#xa0;2012-03-06</span>
<span style='color:#696969; '>&#xa0;- Upgrade to version 2.3</span>
<span style='color:#696969; '>&#xa0;- Added Serial Commands</span>
<span style='color:#696969; '>&#xa0;- - /on</span>
<span style='color:#696969; '>&#xa0;- - /off</span>
<span style='color:#696969; '>&#xa0;------------------------------------------------</span>
<span style='color:#696969; '>&#xa0;2012-02-22</span>
<span style='color:#696969; '>&#xa0;- Upgrade to version 2.2</span>
<span style='color:#696969; '>&#xa0;- Added Serial Commands</span>
<span style='color:#696969; '>&#xa0;- - +&lt;message></span>
<span style='color:#696969; '>&#xa0;- - /message</span>
<span style='color:#696969; '>&#xa0;------------------------------------------------</span>
<span style='color:#696969; '>&#xa0;2012-02-12 (2.1)</span>
<span style='color:#696969; '>&#xa0;- Upgraded to version 2.1</span>
<span style='color:#696969; '>&#xa0;- Added ability to program prowords into message:</span>
<span style='color:#696969; '>&#xa0;- - Eg. "[aaa]" is Full Stop (.) and will flash .-.-.-</span>
<span style='color:#696969; '>&#xa0;- - Eg. "[int]" is Question Mark (?) and will flash ..-.-</span>
<span style='color:#696969; '>&#xa0;- Added delay after message so last space will not be necessary to show end if message.</span>
<span style='color:#696969; '>&#xa0;- Added a few comments (more to come).</span>
<span style='color:#696969; '>&#xa0;------------------------------------------------</span>
<span style='color:#696969; '>&#xa0;2012-01-23 (2.0)</span>
<span style='color:#696969; '>&#xa0;- Started Change Logs.</span>
<span style='color:#696969; '>&#xa0;- Upgraded to version 2.0</span>
<span style='color:#696969; '>&#xa0;- Added Serial Communications.</span>
<span style='color:#696969; '>&#xa0;- Added Serial Commands:</span>
<span style='color:#696969; '>&#xa0;- - /start</span>
<span style='color:#696969; '>&#xa0;- - /stop</span>
<span style='color:#696969; '>&#xa0;- - /restart</span>
<span style='color:#696969; '>&#xa0;- - /wpm &lt;value></span>
<span style='color:#696969; '>&#xa0;- - &lt;message></span>
<span style='color:#696969; '>&#xa0;- Corrected timing between words.</span>
<span style='color:#696969; '>&#xa0;------------------------------------------------</span>
<span style='color:#696969; '>&#xa0;*/</span>
</pre>

<p><a href="http://feedads.g.doubleclick.net/~a/pBFkgG-MTGxFgDKlKY5LnpBAEEs/0/da"><img src="http://feedads.g.doubleclick.net/~a/pBFkgG-MTGxFgDKlKY5LnpBAEEs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/pBFkgG-MTGxFgDKlKY5LnpBAEEs/1/da"><img src="http://feedads.g.doubleclick.net/~a/pBFkgG-MTGxFgDKlKY5LnpBAEEs/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BenHovinga?a=G_ET3ndyyVI:yX3n_NXRY8Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=G_ET3ndyyVI:yX3n_NXRY8Q:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=G_ET3ndyyVI:yX3n_NXRY8Q:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=G_ET3ndyyVI:yX3n_NXRY8Q:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=G_ET3ndyyVI:yX3n_NXRY8Q:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=G_ET3ndyyVI:yX3n_NXRY8Q:F7zBnMyn0Lo" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ben.hovinga.me/2012/03/18/morse-code-v2-3-arduino-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ben.hovinga.me/2012/03/18/morse-code-v2-3-arduino-project/</feedburner:origLink></item>
		<item>
		<title>Morse Code v2.1 [Arduino Project]</title>
		<link>http://feedproxy.google.com/~r/BenHovinga/~3/j7eBQp7cp54/</link>
		<comments>http://ben.hovinga.me/2012/02/12/morse-code-v2-1-arduino-project/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 06:11:23 +0000</pubDate>
		<dc:creator>Ben Hovinga</dc:creator>
				<category><![CDATA[Arduino Projects]]></category>
		<category><![CDATA[Morse Code Converter]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[morse code]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://ben.hovinga.me/?p=845</guid>
		<description><![CDATA[I am having a lot of fun with this project. In this update I added the ability to use prowords. But what are prowords? Prowords are symbols and letters with special meanings, they are a combination of letters into one &#8230; <a href="http://ben.hovinga.me/2012/02/12/morse-code-v2-1-arduino-project/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am having a lot of fun with this project. In this update I added the ability to use prowords. But what are prowords? Prowords are symbols and letters with special meanings, they are a combination of letters into one letter. In morse code [AAA] together is Full Stop or Period, or [IMI] is Say Again. The list goes on and on. Basically by adding letters together you will create prowords. In this program to send a proword enclose the letters in square brackets [] so the program knows its a proword and not just each letter on its own.<br />
Example message<br />
&#8220;HELLO WORLD[AAA] HOW ARE YOU[INT]&#8221; would be<br />
&#8220;HELLO WORLD. HOW ARE YOU?&#8221;<br />
The [AAA] would be morsed as .-.-.- instead of .-/.-/.-<br />
The [INT] would be morsed as ..-.- instead of ../-./-</p>
<p>Another little thing I added was a delay after the message to show that the message was over. Now there is no need to add a space at the end of the message to do this.<br />
<span id="more-845"></span></p>
<pre style='color:#000000;background:#ffffff;'><span style='color:#696969; '>// Morse Code Converter v2.1</span>
<span style='color:#696969; '>// By Ben Hovinga</span>
<span style='color:#696969; '>// </span><span style='color:#5555dd; '>http://ben.hovinga.me/</span><span style='color:#696969; '> </span>
<span style='color:#696969; '>// All Rights Reservered.</span>
<span style='color:#696969; '>// Copyright (C) 2012</span>

<span style='color:#696969; '>// ChangeLog at bottom. <img src='http://ben.hovinga.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span>

<span style='color:#696969; '>// Inital Message</span>
<span style='color:#603000; '>String</span> message <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>abcdefghijklmnopqrstuvwxyz[aaa] 1234567890[aaa]</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// LED pin</span>
<span style='color:#004a43; '>#</span><span style='color:#004a43; '>define</span><span style='color:#004a43; '> LEDPin 13</span>

<span style='color:#696969; '>// Speed</span>
<span style='color:#800000; font-weight:bold; '>int</span> wpm <span style='color:#808030; '>=</span> <span style='color:#008c00; '>4</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// Speed in Words Per Minute</span>

<span style='color:#696969; '>// Unit Sizes</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitDit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitDa <span style='color:#808030; '>=</span> <span style='color:#008c00; '>3</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitSymb <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitLetter <span style='color:#808030; '>=</span> <span style='color:#008c00; '>3</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitWord <span style='color:#808030; '>=</span> <span style='color:#008c00; '>7</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Calculate speed into ms.</span>
<span style='color:#800000; font-weight:bold; '>int</span> timePerUnit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1200</span><span style='color:#808030; '>/</span>wpm<span style='color:#800080; '>;</span> <span style='color:#696969; '>// 1200 for words per minute. Use 6000 for characters per minute</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeDit <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDit<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeDa <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDa<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeSymb <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitSymb<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeLetter <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitLetter<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeWord <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitWord<span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Morse Code and Referance</span>
<span style='color:#800000; font-weight:bold; '>int</span> codeSize <span style='color:#808030; '>=</span> <span style='color:#008c00; '>36</span><span style='color:#800080; '>;</span>
<span style='color:#603000; '>String</span> code<span style='color:#808030; '>[</span><span style='color:#808030; '>]</span> <span style='color:#808030; '>=</span> <span style='color:#800080; '>{</span>
  <span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.--.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-..-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.----</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>....-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>---..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>----.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-----</span><span style='color:#800000; '>"</span><span style='color:#800080; '>}</span><span style='color:#800080; '>;</span>
<span style='color:#603000; '>String</span> coderef<span style='color:#808030; '>[</span><span style='color:#808030; '>]</span> <span style='color:#808030; '>=</span> <span style='color:#800080; '>{</span>
  <span style='color:#800000; '>"</span><span style='color:#0000e6; '>a</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>b</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>c</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>d</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>e</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>f</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>g</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>h</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>i</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>j</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>k</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>l</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>m</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>n</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>o</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>p</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>q</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>r</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>s</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>t</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>u</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>v</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>w</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>x</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>y</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>z</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>1</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>2</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>3</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>4</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>5</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>6</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>7</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>8</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>9</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>0</span><span style='color:#800000; '>"</span><span style='color:#800080; '>}</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Other vars</span>
boolean running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#800080; '>;</span>
boolean proword <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#800080; '>;</span>

<span style='color:#800000; font-weight:bold; '>void</span> setup<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Make pin 13 output for LED (or later a relay).</span>
  pinMode <span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span>OUTPUT<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#696969; '>// I wanna talk with things.</span>
  Serial<span style='color:#808030; '>.</span>begin<span style='color:#808030; '>(</span><span style='color:#008c00; '>115200</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> loop<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#800000; font-weight:bold; '>int</span> strlength <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>length<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// How big is this message anyways?</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>running <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#696969; '>// Find out what this letter is and the next one.</span>
      <span style='color:#603000; '>String</span> ch <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#603000; '>String</span> ch2 <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>2</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>

      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>[</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Skip this pass.</span>
        proword <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>]</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Skip this pass.</span>
        proword <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Flash the letter.</span>
        flashLetter<span style='color:#808030; '>(</span>ch<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>

      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>proword <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        <span style='color:#696969; '>// Do delays if not a proword.</span>
        <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
          <span style='color:#696969; '>// New word delay.</span>
          delay<span style='color:#808030; '>(</span>timeWord<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        <span style='color:#800080; '>}</span>
        <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>!</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span> <span style='color:#808030; '>&amp;</span><span style='color:#808030; '>&amp;</span> ch2 <span style='color:#808030; '>!</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
          <span style='color:#696969; '>// New letter delay.</span>
          delay<span style='color:#808030; '>(</span>timeLetter<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        <span style='color:#800080; '>}</span>
      <span style='color:#800080; '>}</span>
    <span style='color:#800080; '>}</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>checkSerial<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span> <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
      <span style='color:#696969; '>// We got some sort of command.</span>
      <span style='color:#696969; '>// Delay a bit then start the message over.</span>
      delay <span style='color:#808030; '>(</span><span style='color:#008c00; '>2000</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>break</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
  delay<span style='color:#808030; '>(</span>timeWord<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// Hold on and wait to show the message is done.</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>int</span> getInt<span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> text<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Converts Strings into Ints</span>
  <span style='color:#800000; font-weight:bold; '>char</span> temp<span style='color:#808030; '>[</span><span style='color:#008c00; '>20</span><span style='color:#808030; '>]</span><span style='color:#800080; '>;</span>
  text<span style='color:#808030; '>.</span>toCharArray<span style='color:#808030; '>(</span>temp<span style='color:#808030; '>,</span> <span style='color:#008c00; '>19</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#603000; '>atoi</span><span style='color:#808030; '>(</span>temp<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>x <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span> <span style='color:#808030; '>&amp;</span><span style='color:#808030; '>&amp;</span> text <span style='color:#808030; '>!</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>0</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span>
  <span style='color:#800080; '>{</span>
    x <span style='color:#808030; '>=</span> <span style='color:#808030; '>-</span><span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> x<span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span> 

<span style='color:#800000; font-weight:bold; '>int</span> checkSerial <span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Check if there is data waiting from serial</span>
  <span style='color:#603000; '>String</span> input <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>int</span> <span style='color:#603000; '>count</span> <span style='color:#808030; '>=</span> Serial<span style='color:#808030; '>.</span>available<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span><span style='color:#603000; '>count</span> <span style='color:#808030; '>></span> <span style='color:#008c00; '>0</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
    <span style='color:#696969; '>// Wait for buffer and recount</span>
    delay <span style='color:#808030; '>(</span><span style='color:#008c00; '>200</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#603000; '>count</span> <span style='color:#808030; '>=</span> Serial<span style='color:#808030; '>.</span>available<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>

    <span style='color:#696969; '>// Get the buffer</span>
    <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> <span style='color:#603000; '>count</span><span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      input <span style='color:#808030; '>+</span><span style='color:#808030; '>=</span> <span style='color:#603000; '>String</span><span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>char</span><span style='color:#808030; '>(</span>Serial<span style='color:#808030; '>.</span>read<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>

    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>0</span><span style='color:#808030; '>,</span> <span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span> <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>/</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#696969; '>// Its a command</span>
      <span style='color:#800000; font-weight:bold; '>int</span> wherespace <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>indexOf<span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// find the space</span>
      <span style='color:#603000; '>String</span> comd<span style='color:#800080; '>;</span>
      <span style='color:#603000; '>String</span> value<span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>wherespace <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#808030; '>-</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        comd <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        value <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800080; '>{</span>
        comd <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>,</span>wherespace<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        comd<span style='color:#808030; '>.</span>toLowerCase<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        value <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>wherespace <span style='color:#808030; '>+</span> <span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        value<span style='color:#808030; '>.</span>toLowerCase<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>

      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>wpm</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        wpm <span style='color:#808030; '>=</span> getInt <span style='color:#808030; '>(</span>value<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        WPMcalc<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Changed WPM to </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span>wpm<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>restart</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Restarting message.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>stop</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Stopping message.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>start</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Starting message.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#800080; '>;</span>
        <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span><span style='color:#800080; '>{</span>
        Serial<span style='color:#808030; '>.</span>println<span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Command Not Found.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>

    <span style='color:#800080; '>}</span>
    <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800080; '>{</span>
      <span style='color:#696969; '>// Its a message</span>
      message <span style='color:#808030; '>=</span> input<span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Message Changed to </span><span style='color:#0f69ff; '>\"</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span>message<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0f69ff; '>\"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// Reset the loop</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> WPMcalc <span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Calculates the words per minute</span>
  timePerUnit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1200</span><span style='color:#808030; '>/</span>wpm<span style='color:#800080; '>;</span> <span style='color:#696969; '>// 1200 for words per minute. Use 6000 for characters per minute</span>
  timeDit <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDit<span style='color:#800080; '>;</span>
  timeDa <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDa<span style='color:#800080; '>;</span>
  timeSymb <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitSymb<span style='color:#800080; '>;</span>
  timeLetter <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitLetter<span style='color:#800080; '>;</span>
  timeWord <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitWord<span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> flashLetter <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Flashes the letter</span>
  <span style='color:#603000; '>String</span> morseCode <span style='color:#808030; '>=</span> searchLetter <span style='color:#808030; '>(</span>character<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>int</span> strlength <span style='color:#808030; '>=</span> morseCode<span style='color:#808030; '>.</span>length<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#603000; '>String</span> ch <span style='color:#808030; '>=</span> morseCode<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> HIGH<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    delay<span style='color:#808030; '>(</span>timeDelayms<span style='color:#808030; '>(</span>ch<span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> LOW<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      delay<span style='color:#808030; '>(</span>timeSymb<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>int</span> timeDelayms <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Returns how long a dit or da is in ms.</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> timeDit<span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> timeDa<span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>else</span>
  <span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#603000; '>String</span> searchLetter <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Returns the morse code for a character.</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> codeSize<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    character<span style='color:#808030; '>.</span>toLowerCase<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> coderef<span style='color:#808030; '>[</span>x<span style='color:#808030; '>]</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#800000; font-weight:bold; '>return</span> code<span style='color:#808030; '>[</span>x<span style='color:#808030; '>]</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#696969; '>/*</span>
<span style='color:#696969; '>CHANGELOG</span>
<span style='color:#696969; '>------------------------------------------------</span>
<span style='color:#696969; '>2012-02-12 (2.1)</span>
<span style='color:#696969; '>- Upgraded to version 2.1</span>
<span style='color:#696969; '>- Added ability to program prowords into message:</span>
<span style='color:#696969; '>- - Eg. "[aaa]" is Full Stop (.) and will flash .-.-.-</span>
<span style='color:#696969; '>- - Eg. "[int]" is Question Mark (?) and will flash ..-.-</span>
<span style='color:#696969; '>- Added delay after message so last space will not be necessary to show end if message.</span>
<span style='color:#696969; '>- Added a few comments (more to come).</span>
<span style='color:#696969; '>------------------------------------------------</span>
<span style='color:#696969; '>2012-01-23 (2.0)</span>
<span style='color:#696969; '>- Started Change Logs.</span>
<span style='color:#696969; '>- Upgraded to version 2.0</span>
<span style='color:#696969; '>- Added Serial Communications.</span>
<span style='color:#696969; '>- Added Serial Commands:</span>
<span style='color:#696969; '>- - /start</span>
<span style='color:#696969; '>- - /stop</span>
<span style='color:#696969; '>- - /restart</span>
<span style='color:#696969; '>- - /wpm &lt;value></span>
<span style='color:#696969; '>- - &lt;message></span>
<span style='color:#696969; '>- Corrected timing between words.</span>
<span style='color:#696969; '>------------------------------------------------</span>
<span style='color:#696969; '>*/</span>
</pre>

<p><a href="http://feedads.g.doubleclick.net/~a/xnO4VSbhyDWregKYYmDC1ezH0J4/0/da"><img src="http://feedads.g.doubleclick.net/~a/xnO4VSbhyDWregKYYmDC1ezH0J4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xnO4VSbhyDWregKYYmDC1ezH0J4/1/da"><img src="http://feedads.g.doubleclick.net/~a/xnO4VSbhyDWregKYYmDC1ezH0J4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BenHovinga?a=j7eBQp7cp54:lBPMeT99fH8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=j7eBQp7cp54:lBPMeT99fH8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=j7eBQp7cp54:lBPMeT99fH8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=j7eBQp7cp54:lBPMeT99fH8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=j7eBQp7cp54:lBPMeT99fH8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=j7eBQp7cp54:lBPMeT99fH8:F7zBnMyn0Lo" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ben.hovinga.me/2012/02/12/morse-code-v2-1-arduino-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ben.hovinga.me/2012/02/12/morse-code-v2-1-arduino-project/</feedburner:origLink></item>
		<item>
		<title>Morse Code v2 [Arduino Project]</title>
		<link>http://feedproxy.google.com/~r/BenHovinga/~3/B3eLxrDVLn0/</link>
		<comments>http://ben.hovinga.me/2012/01/24/morse-code-v2-arduino-project/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 04:22:40 +0000</pubDate>
		<dc:creator>Ben Hovinga</dc:creator>
				<category><![CDATA[Arduino Projects]]></category>
		<category><![CDATA[Morse Code Converter]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[morse code]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://ben.hovinga.me/?p=836</guid>
		<description><![CDATA[So I made a few changes to my previous Morse Code project. I added the option to send a message via serial. I am still waiting on my bluetooth module so I can send a message from my phone. Syntax &#8230; <a href="http://ben.hovinga.me/2012/01/24/morse-code-v2-arduino-project/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I made a few changes to my previous <a title="Morse Code [Arduino Project] | Ben Hovinga" href="http://ben.hovinga.me/2012/01/17/morse-code-arduino-project/">Morse Code</a> project. I added the option to send a message via serial. I am still waiting on my bluetooth module so I can send a message from my phone. </p>
<p>Syntax for the serial commands.<br />
<code>&lt;message&gt;<br />
/wpm &lt;speed&gt;<br />
/start<br />
/stop<br />
/restart</code><br />
<span id="more-836"></span></p>
<pre style='color:#000000;background:#ffffff;'><span style='color:#696969; '>// Morse Code Converter v2.0</span>
<span style='color:#696969; '>// By Ben Hovinga</span>
<span style='color:#696969; '>// </span><span style='color:#5555dd; '>http://ben.hovinga.me/</span><span style='color:#696969; '> </span>
<span style='color:#696969; '>// All Rights Reservered.</span>
<span style='color:#696969; '>// Copyright (C) 2012</span>

<span style='color:#696969; '>// ChangeLog at bottom. <img src='http://ben.hovinga.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span>

<span style='color:#696969; '>// Inital Message</span>
<span style='color:#603000; '>String</span> message <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>abcdefghijklmnopqrstuvwxyz 1234567890 </span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// LED pin</span>
<span style='color:#004a43; '>#</span><span style='color:#004a43; '>define</span><span style='color:#004a43; '> LEDPin 13</span>

<span style='color:#696969; '>// Speed</span>
<span style='color:#800000; font-weight:bold; '>int</span> wpm <span style='color:#808030; '>=</span> <span style='color:#008c00; '>4</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// Speed in Words Per Minute</span>

<span style='color:#696969; '>// Unit Sizes</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitDit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitDa <span style='color:#808030; '>=</span> <span style='color:#008c00; '>3</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitSymb <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitLetter <span style='color:#808030; '>=</span> <span style='color:#008c00; '>3</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitWord <span style='color:#808030; '>=</span> <span style='color:#008c00; '>7</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Calculate speed into ms.</span>
<span style='color:#800000; font-weight:bold; '>int</span> timePerUnit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1200</span><span style='color:#808030; '>/</span>wpm<span style='color:#800080; '>;</span> <span style='color:#696969; '>// 1200 for words per minute. Use 6000 for characters per minute</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeDit <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDit<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeDa <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDa<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeSymb <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitSymb<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeLetter <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitLetter<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeWord <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitWord<span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Morse Code and Referance</span>
<span style='color:#800000; font-weight:bold; '>int</span> codeSize <span style='color:#808030; '>=</span> <span style='color:#008c00; '>36</span><span style='color:#800080; '>;</span>
<span style='color:#603000; '>String</span> code<span style='color:#808030; '>[</span><span style='color:#808030; '>]</span> <span style='color:#808030; '>=</span> <span style='color:#800080; '>{</span>
  <span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.--.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-..-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.----</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>....-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>---..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>----.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-----</span><span style='color:#800000; '>"</span><span style='color:#800080; '>}</span><span style='color:#800080; '>;</span>
<span style='color:#603000; '>String</span> coderef<span style='color:#808030; '>[</span><span style='color:#808030; '>]</span> <span style='color:#808030; '>=</span> <span style='color:#800080; '>{</span>
  <span style='color:#800000; '>"</span><span style='color:#0000e6; '>a</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>b</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>c</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>d</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>e</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>f</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>g</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>h</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>i</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>j</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>k</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>l</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>m</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>n</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>o</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>p</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>q</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>r</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>s</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>t</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>u</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>v</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>w</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>x</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>y</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>z</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>1</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>2</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>3</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>4</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>5</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>6</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>7</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>8</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>9</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>0</span><span style='color:#800000; '>"</span><span style='color:#800080; '>}</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Other vars</span>
boolean running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#800080; '>;</span>

<span style='color:#800000; font-weight:bold; '>void</span> setup<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Make pin 13 output for LED (or later a relay).</span>
  pinMode <span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span>OUTPUT<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  Serial<span style='color:#808030; '>.</span>begin<span style='color:#808030; '>(</span><span style='color:#008c00; '>115200</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> loop<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>

  <span style='color:#800000; font-weight:bold; '>int</span> strlength <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>length<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>running <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#603000; '>String</span> ch <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#603000; '>String</span> ch2 <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>2</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      flashLetter<span style='color:#808030; '>(</span>ch<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        delay<span style='color:#808030; '>(</span>timeWord<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>!</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span> <span style='color:#808030; '>&amp;</span><span style='color:#808030; '>&amp;</span> ch2 <span style='color:#808030; '>!</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
        delay<span style='color:#808030; '>(</span>timeLetter<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
    <span style='color:#800080; '>}</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>checkSerial<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span> <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
      delay <span style='color:#808030; '>(</span><span style='color:#008c00; '>2000</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>break</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>int</span> getInt<span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> text<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Converts Strings into Ints</span>
  <span style='color:#800000; font-weight:bold; '>char</span> temp<span style='color:#808030; '>[</span><span style='color:#008c00; '>20</span><span style='color:#808030; '>]</span><span style='color:#800080; '>;</span>
  text<span style='color:#808030; '>.</span>toCharArray<span style='color:#808030; '>(</span>temp<span style='color:#808030; '>,</span> <span style='color:#008c00; '>19</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#603000; '>atoi</span><span style='color:#808030; '>(</span>temp<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>x <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span> <span style='color:#808030; '>&amp;</span><span style='color:#808030; '>&amp;</span> text <span style='color:#808030; '>!</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>0</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span>
  <span style='color:#800080; '>{</span>
    x <span style='color:#808030; '>=</span> <span style='color:#808030; '>-</span><span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> x<span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span> 

<span style='color:#800000; font-weight:bold; '>int</span> checkSerial <span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Check if there is data waiting from serial</span>
  <span style='color:#603000; '>String</span> input <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>int</span> <span style='color:#603000; '>count</span> <span style='color:#808030; '>=</span> Serial<span style='color:#808030; '>.</span>available<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span><span style='color:#603000; '>count</span> <span style='color:#808030; '>></span> <span style='color:#008c00; '>0</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
    <span style='color:#696969; '>// Wait for buffer and recount</span>
    delay <span style='color:#808030; '>(</span><span style='color:#008c00; '>200</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#603000; '>count</span> <span style='color:#808030; '>=</span> Serial<span style='color:#808030; '>.</span>available<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>

    <span style='color:#696969; '>// Get the buffer</span>
    <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> <span style='color:#603000; '>count</span><span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      input <span style='color:#808030; '>+</span><span style='color:#808030; '>=</span> <span style='color:#603000; '>String</span><span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>char</span><span style='color:#808030; '>(</span>Serial<span style='color:#808030; '>.</span>read<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>

    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>0</span><span style='color:#808030; '>,</span> <span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span> <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>/</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#696969; '>// Its a command</span>
      <span style='color:#800000; font-weight:bold; '>int</span> wherespace <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>indexOf<span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// find the space</span>
      <span style='color:#603000; '>String</span> comd<span style='color:#800080; '>;</span>
      <span style='color:#603000; '>String</span> value<span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>wherespace <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#808030; '>-</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        comd <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        value <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800080; '>{</span>
        comd <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>,</span>wherespace<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        comd<span style='color:#808030; '>.</span>toLowerCase<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        value <span style='color:#808030; '>=</span> input<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>wherespace <span style='color:#808030; '>+</span> <span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        value<span style='color:#808030; '>.</span>toLowerCase<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>

      <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>wpm</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        wpm <span style='color:#808030; '>=</span> getInt <span style='color:#808030; '>(</span>value<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        WPMcalc<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Changed WPM to </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span>wpm<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>restart</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Restarting message.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>stop</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Stopping message.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>false</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>comd <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>start</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
        Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Starting message.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
        running <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#800080; '>;</span>
        <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>
      <span style='color:#800000; font-weight:bold; '>else</span><span style='color:#800080; '>{</span>
        Serial<span style='color:#808030; '>.</span>println<span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Command Not Found.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800080; '>}</span>

    <span style='color:#800080; '>}</span>
    <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800080; '>{</span>
      <span style='color:#696969; '>// Its a message</span>
      message <span style='color:#808030; '>=</span> input<span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>Message Changed to </span><span style='color:#0f69ff; '>\"</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>print <span style='color:#808030; '>(</span>message<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      Serial<span style='color:#808030; '>.</span>println <span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0f69ff; '>\"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
      <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// Reset the loop</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> WPMcalc <span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Calculates the words per minute</span>
  timePerUnit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1200</span><span style='color:#808030; '>/</span>wpm<span style='color:#800080; '>;</span> <span style='color:#696969; '>// 1200 for words per minute. Use 6000 for characters per minute</span>
  timeDit <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDit<span style='color:#800080; '>;</span>
  timeDa <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDa<span style='color:#800080; '>;</span>
  timeSymb <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitSymb<span style='color:#800080; '>;</span>
  timeLetter <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitLetter<span style='color:#800080; '>;</span>
  timeWord <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitWord<span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> flashLetter <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Flashes the letter</span>
  <span style='color:#603000; '>String</span> morseCode <span style='color:#808030; '>=</span> searchLetter <span style='color:#808030; '>(</span>character<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>int</span> strlength <span style='color:#808030; '>=</span> morseCode<span style='color:#808030; '>.</span>length<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#603000; '>String</span> ch <span style='color:#808030; '>=</span> morseCode<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> HIGH<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    delay<span style='color:#808030; '>(</span>timeDelayms<span style='color:#808030; '>(</span>ch<span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> LOW<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      delay<span style='color:#808030; '>(</span>timeSymb<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>int</span> timeDelayms <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Returns how long a dit or da is in ms.</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> timeDit<span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> timeDa<span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>else</span>
  <span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#603000; '>String</span> searchLetter <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Returns the morse code for a character.</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> codeSize<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    character<span style='color:#808030; '>.</span>toLowerCase<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> coderef<span style='color:#808030; '>[</span>x<span style='color:#808030; '>]</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#800000; font-weight:bold; '>return</span> code<span style='color:#808030; '>[</span>x<span style='color:#808030; '>]</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#696969; '>/*</span>
<span style='color:#696969; '>CHANGELOG</span>
<span style='color:#696969; '>------------------------------------------------</span>
<span style='color:#696969; '>2012-01-23 (2.0)</span>
<span style='color:#696969; '>- Started Change Logs.</span>
<span style='color:#696969; '>- Upgraded to version 2.0</span>
<span style='color:#696969; '>- Added Serial Communications.</span>
<span style='color:#696969; '>- Added Serial Commands:</span>
<span style='color:#696969; '>- - /start</span>
<span style='color:#696969; '>- - /stop</span>
<span style='color:#696969; '>- - /restart</span>
<span style='color:#696969; '>- - /wpm &lt;value></span>
<span style='color:#696969; '>- - &lt;message></span>
<span style='color:#696969; '>------------------------------------------------</span>
<span style='color:#696969; '>*/</span>
</pre>

<p><a href="http://feedads.g.doubleclick.net/~a/UNeIH0NMfY40MhcILk5254DiyeQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/UNeIH0NMfY40MhcILk5254DiyeQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/UNeIH0NMfY40MhcILk5254DiyeQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/UNeIH0NMfY40MhcILk5254DiyeQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BenHovinga?a=B3eLxrDVLn0:7Kces-_ZmDI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=B3eLxrDVLn0:7Kces-_ZmDI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=B3eLxrDVLn0:7Kces-_ZmDI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=B3eLxrDVLn0:7Kces-_ZmDI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=B3eLxrDVLn0:7Kces-_ZmDI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=B3eLxrDVLn0:7Kces-_ZmDI:F7zBnMyn0Lo" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ben.hovinga.me/2012/01/24/morse-code-v2-arduino-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://ben.hovinga.me/2012/01/24/morse-code-v2-arduino-project/</feedburner:origLink></item>
		<item>
		<title>Morse Code [Arduino Project]</title>
		<link>http://feedproxy.google.com/~r/BenHovinga/~3/e9Bsif980sg/</link>
		<comments>http://ben.hovinga.me/2012/01/17/morse-code-arduino-project/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 04:34:48 +0000</pubDate>
		<dc:creator>Ben Hovinga</dc:creator>
				<category><![CDATA[Arduino Projects]]></category>
		<category><![CDATA[Morse Code Converter]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[morse code]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://ben.hovinga.me/?p=830</guid>
		<description><![CDATA[I just got an arduino because I wanted to learn how electronics work. And so far I like playing with it. As some of you have already seen, I made a traffic light on the weekend and made an easy &#8230; <a href="http://ben.hovinga.me/2012/01/17/morse-code-arduino-project/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just got an arduino because I wanted to learn how electronics work. And so far I like playing with it. As some of you have already seen, I made a <a href="http://ben.hovinga.me/2012/01/15/traffic-lights-beginner-arduino-project/" title="Traffic Lights [Beginner Arduino Project]">traffic light</a> on the weekend and made an easy to follow tutorial on instructables for anyone else wanting to make the project.</p>
<p>In this project I am focusing less on the electronics and more on the programming. In my job we are required to know Morse Code, and sometimes learning it can be challenging. I programmed my arduino to flash the led on pin 13 in relation to the Morse Code.</p>
<p>I only have letters and numbers programmed into it, no prowords yet. My next step is to add serial communications so I can change the message or change the words per minute on the fly. I ordered at bluetooth module and I will be able use my phone to control it too. Maybe some more things later but that&#8217;s the plan for now.</p>
<p>Here is the code if you want to try it out.<br />
<span id="more-830"></span></p>
<pre style='color:#000000;background:#ffffff;'><span style='color:#696969; '>// Morse Code Converter v1.0</span>
<span style='color:#696969; '>// By Ben Hovinga</span>
<span style='color:#696969; '>// </span><span style='color:#5555dd; '>http://ben.hovinga.me/</span><span style='color:#696969; '> </span>
<span style='color:#696969; '>// All Rights Reservered.</span>
<span style='color:#696969; '>// Copyright (C) 2012</span>

<span style='color:#696969; '>// Inital Message</span>
<span style='color:#603000; '>String</span> message <span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>Hello World  </span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>

<span style='color:#004a43; '>#</span><span style='color:#004a43; '>define</span><span style='color:#004a43; '> LEDPin 13</span>

<span style='color:#696969; '>// Speed</span>
<span style='color:#800000; font-weight:bold; '>int</span> wpm <span style='color:#808030; '>=</span> <span style='color:#008c00; '>4</span><span style='color:#800080; '>;</span> <span style='color:#696969; '>// Speed in Words Per Minute</span>

<span style='color:#696969; '>// Unit Sizes</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitDit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitDa <span style='color:#808030; '>=</span> <span style='color:#008c00; '>3</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitSymb <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitLetter <span style='color:#808030; '>=</span> <span style='color:#008c00; '>3</span><span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> unitWord <span style='color:#808030; '>=</span> <span style='color:#008c00; '>7</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Calculate speed into ms.</span>
<span style='color:#800000; font-weight:bold; '>int</span> timePerUnit <span style='color:#808030; '>=</span> <span style='color:#008c00; '>1200</span><span style='color:#808030; '>/</span>wpm<span style='color:#800080; '>;</span> <span style='color:#696969; '>// 1200 for words per minute. Use 6000 for characters per minute</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeDit <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDit<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeDa <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitDa<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeSymb <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitSymb<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeLetter <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitLetter<span style='color:#800080; '>;</span>
<span style='color:#800000; font-weight:bold; '>int</span> timeWord <span style='color:#808030; '>=</span> timePerUnit <span style='color:#808030; '>*</span> unitWord<span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Morse Code and Referance</span>
<span style='color:#800000; font-weight:bold; '>int</span> codeSize <span style='color:#808030; '>=</span> <span style='color:#008c00; '>36</span><span style='color:#800080; '>;</span>
<span style='color:#603000; '>String</span> code<span style='color:#808030; '>[</span><span style='color:#808030; '>]</span> <span style='color:#808030; '>=</span> <span style='color:#800080; '>{</span>
  <span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.--.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--.-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.-.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-..-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-.--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.----</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>..---</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>...--</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>....-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>.....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-....</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>--...</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>---..</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>----.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>-----</span><span style='color:#800000; '>"</span><span style='color:#800080; '>}</span><span style='color:#800080; '>;</span>
<span style='color:#603000; '>String</span> coderef<span style='color:#808030; '>[</span><span style='color:#808030; '>]</span> <span style='color:#808030; '>=</span> <span style='color:#800080; '>{</span>
  <span style='color:#800000; '>"</span><span style='color:#0000e6; '>a</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>b</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>c</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>d</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>e</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>f</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>g</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>h</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>i</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>j</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>k</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>l</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>m</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>n</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>o</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>p</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>q</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>r</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>s</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>t</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>u</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>v</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>w</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>x</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>y</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>z</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>1</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>2</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>3</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>4</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>5</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>6</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>7</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>8</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>9</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>0</span><span style='color:#800000; '>"</span><span style='color:#800080; '>}</span><span style='color:#800080; '>;</span>

<span style='color:#696969; '>// Other vars</span>
<span style='color:#800000; font-weight:bold; '>int</span> messageCount <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span>

<span style='color:#800000; font-weight:bold; '>void</span> setup<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Make pin 13 output for LED (or later a relay).</span>
  pinMode <span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span>OUTPUT<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> loop<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#800000; font-weight:bold; '>int</span> strlength <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>length<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#603000; '>String</span> ch <span style='color:#808030; '>=</span> message<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    flashLetter<span style='color:#808030; '>(</span>ch<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>ch <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '> </span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      delay<span style='color:#808030; '>(</span>timeWord<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
    <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800080; '>{</span>
      delay<span style='color:#808030; '>(</span>timeLetter<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>void</span> flashLetter <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Flashes the letter</span>
  <span style='color:#603000; '>String</span> morseCode <span style='color:#808030; '>=</span> searchLetter <span style='color:#808030; '>(</span>character<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>int</span> strlength <span style='color:#808030; '>=</span> morseCode<span style='color:#808030; '>.</span>length<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#603000; '>String</span> ch <span style='color:#808030; '>=</span> morseCode<span style='color:#808030; '>.</span>substring<span style='color:#808030; '>(</span>x<span style='color:#808030; '>,</span>x<span style='color:#808030; '>+</span><span style='color:#008c00; '>1</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> HIGH<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    delay<span style='color:#808030; '>(</span>timeDelayms<span style='color:#808030; '>(</span>ch<span style='color:#808030; '>)</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    digitalWrite<span style='color:#808030; '>(</span>LEDPin<span style='color:#808030; '>,</span> LOW<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>x <span style='color:#808030; '>&lt;</span> strlength<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      delay<span style='color:#808030; '>(</span>timeSymb<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>int</span> timeDelayms <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Returns how long a dit or da is in ms.</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>.</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> timeDit<span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>-</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> timeDa<span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>else</span>
  <span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#603000; '>String</span> searchLetter <span style='color:#808030; '>(</span><span style='color:#603000; '>String</span> character<span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
  <span style='color:#696969; '>// Returns the morse code for a character.</span>
  <span style='color:#800000; font-weight:bold; '>for</span> <span style='color:#808030; '>(</span><span style='color:#800000; font-weight:bold; '>int</span> x <span style='color:#808030; '>=</span> <span style='color:#008c00; '>0</span><span style='color:#800080; '>;</span> x <span style='color:#808030; '>&lt;</span> codeSize<span style='color:#800080; '>;</span> x<span style='color:#808030; '>+</span><span style='color:#808030; '>+</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
    character<span style='color:#808030; '>.</span>toLowerCase<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>character <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> coderef<span style='color:#808030; '>[</span>x<span style='color:#808030; '>]</span><span style='color:#808030; '>)</span><span style='color:#800080; '>{</span>
      <span style='color:#800000; font-weight:bold; '>return</span> code<span style='color:#808030; '>[</span>x<span style='color:#808030; '>]</span><span style='color:#800080; '>;</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> <span style='color:#800000; '>"</span><span style='color:#800000; '>"</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>
</pre>

<p><a href="http://feedads.g.doubleclick.net/~a/xqCMOXyhdUBOIcUk6RlDN1DL9aU/0/da"><img src="http://feedads.g.doubleclick.net/~a/xqCMOXyhdUBOIcUk6RlDN1DL9aU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xqCMOXyhdUBOIcUk6RlDN1DL9aU/1/da"><img src="http://feedads.g.doubleclick.net/~a/xqCMOXyhdUBOIcUk6RlDN1DL9aU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BenHovinga?a=e9Bsif980sg:Z13etRIEpD8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=e9Bsif980sg:Z13etRIEpD8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=e9Bsif980sg:Z13etRIEpD8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=e9Bsif980sg:Z13etRIEpD8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/BenHovinga?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BenHovinga?a=e9Bsif980sg:Z13etRIEpD8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/BenHovinga?i=e9Bsif980sg:Z13etRIEpD8:F7zBnMyn0Lo" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ben.hovinga.me/2012/01/17/morse-code-arduino-project/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://ben.hovinga.me/2012/01/17/morse-code-arduino-project/</feedburner:origLink></item>
	</channel>
</rss>

