<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
>

<channel>
	<title>KwartzLab Makerspace &#187; help</title>
	<atom:link href="http://www.kwartzlab.ca/tag/help/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kwartzlab.ca</link>
	<description>Home of Kwartzlab Makerspace in Kitchener/Waterloo, Ontario</description>
	<lastBuildDate>Sun, 19 May 2013 23:30:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<!-- podcast_generator="Blubrry PowerPress/4.0.7" -->
	<itunes:summary>Regular discussions with hackers, makers and artists at the Kwartzlab Makerspace. We talk about what projects people are working on, what events are coming up and how you can get involved.</itunes:summary>
	<itunes:author>kwartzlab</itunes:author>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.kwartzlab.ca/wp-content/uploads/powerpress/light_box_logo.jpg" />
	<itunes:owner>
		<itunes:name>kwartzlab</itunes:name>
		<itunes:email>podcast@kwartzlab.ca</itunes:email>
	</itunes:owner>
	<managingEditor>podcast@kwartzlab.ca (kwartzlab)</managingEditor>
	<itunes:subtitle>A hackerspace radio show</itunes:subtitle>
	<itunes:keywords>kwartzlab, hackerspace, makerspace, diy, hardware, software, maker, hacker, artist, roundtable</itunes:keywords>
	<image>
		<title>KwartzLab Makerspace &#187; help</title>
		<url>http://www.kwartzlab.ca/wp-content/uploads/powerpress/light_box_logo.jpg</url>
		<link>http://www.kwartzlab.ca</link>
	</image>
	<itunes:category text="Technology" />
	<itunes:category text="Arts" />
	<itunes:category text="Games &amp; Hobbies">
		<itunes:category text="Hobbies" />
	</itunes:category>
		<rawvoice:location>Kitchener, ON</rawvoice:location>
		<item>
		<title>SoOnCon Badge Help</title>
		<link>http://www.kwartzlab.ca/2010/10/sooncon-badge-help/</link>
		<comments>http://www.kwartzlab.ca/2010/10/sooncon-badge-help/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 14:32:09 +0000</pubDate>
		<dc:creator>Jonathan Lamothe</dc:creator>
				<category><![CDATA[Member Blogs]]></category>
		<category><![CDATA[help]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>So, I've been playing around with the SoOnCon badge over the past couple weeks, but I've hit what I think is a problem with my board.</p>

<!--more-->

<p>It started when I was looking at the code that defines the switches (SoonCon2010Badge.h) and saw this:</p>

<pre><code>#define SWITCH_0  0
#define SWITCH_1  1
#define SWITCH_2 35
#define SWITCH_4  7

</code></pre>

<p>Yes, that's right, the switches are numbered 0, 1, 2 and 4.  A little odd, but I decided that I should investigate farther.</p>

<p>I wrote a test program that would check the statuses of these switches and blink the red segment of the LED on the top differently depending on which switch was depressed.  I remembered hearing that the switches had internal pull-up resistors, so their normal (open) state would be high.</p>

<p>I set up the blinking patterns like so:</p>

<table>
<thead>
<tr>
<th align="center">Switch Depressed</th>
<th align="center">Number of Blinks</th>
</tr>
</thead>
<tbody>
<tr>

<td align="center"><code>SWITCH_0</code></td>
<td align="center">3</td>
</tr>
<tr>
<td align="center"><code>SWITCH_1</code></td>
<td align="center">1</td>
</tr>
<tr>
<td align="center"><code>SWITCH_2</code></td>
<td align="center">2</td>
</tr>

<tr>
<td align="center"><code>SWITCH_4</code></td>
<td align="center">4</td>
</tr>
</tbody>
</table>

<p>What I've discovered from playing with this is that the switch on the bottom left is <code>SWITCH_1</code> and the switch on the bottom right is <code>SWITCH_4</code>.  I'm assuming that the switch on the top right is <code>SWITCH_2</code>, but according to my program, it is continuously depressed, and <code>SWITCH_0</code> (I'm assuming this to be the reset pin) is never depressed.</p>

<p>I suspect that this is a problem with my board rather than a problem with my code.</p>

<p>If there's anyone else out there who's been able to compile and install new firmware onto their badge, can they do me the favour of trying my code out and describing the blinking patterns they see?</p>

<p>The code is on github (the switch-test branch).  It can be found <a href="http://github.com/jlamothe/arduinizer/tree/switch-test" title="arduinizer switch-test branch">here</a>.</p>

<h2>Update 2010-10-17:</h2>

<p>This issue has been resolved.  I found a patch on the original sourceforge page that I have imported into the git repository.</p>
]]></description>
				<content:encoded><![CDATA[<p>So, I&#8217;ve been playing around with the SoOnCon badge over the past couple weeks, but I&#8217;ve hit what I think is a problem with my board.</p>
<p><span id="more-432"></span></p>
<p>It started when I was looking at the code that defines the switches (SoonCon2010Badge.h) and saw this:</p>
<pre><code>#define SWITCH_0  0
#define SWITCH_1  1
#define SWITCH_2 35
#define SWITCH_4  7

</code></pre>
<p>Yes, that&#8217;s right, the switches are numbered 0, 1, 2 and 4.  A little odd, but I decided that I should investigate farther.</p>
<p>I wrote a test program that would check the statuses of these switches and blink the red segment of the LED on the top differently depending on which switch was depressed.  I remembered hearing that the switches had internal pull-up resistors, so their normal (open) state would be high.</p>
<p>I set up the blinking patterns like so:</p>
<table>
<thead>
<tr>
<th align="center">Switch Depressed</th>
<th align="center">Number of Blinks</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center"><code>SWITCH_0</code></td>
<td align="center">3</td>
</tr>
<tr>
<td align="center"><code>SWITCH_1</code></td>
<td align="center">1</td>
</tr>
<tr>
<td align="center"><code>SWITCH_2</code></td>
<td align="center">2</td>
</tr>
<tr>
<td align="center"><code>SWITCH_4</code></td>
<td align="center">4</td>
</tr>
</tbody>
</table>
<p>What I&#8217;ve discovered from playing with this is that the switch on the bottom left is <code>SWITCH_1</code> and the switch on the bottom right is <code>SWITCH_4</code>.  I&#8217;m assuming that the switch on the top right is <code>SWITCH_2</code>, but according to my program, it is continuously depressed, and <code>SWITCH_0</code> (I&#8217;m assuming this to be the reset pin) is never depressed.</p>
<p>I suspect that this is a problem with my board rather than a problem with my code.</p>
<p>If there&#8217;s anyone else out there who&#8217;s been able to compile and install new firmware onto their badge, can they do me the favour of trying my code out and describing the blinking patterns they see?</p>
<p>The code is on github (the switch-test branch).  It can be found <a href="http://github.com/jlamothe/arduinizer/tree/switch-test" title="arduinizer switch-test branch">here</a>.</p>
<h2>Update 2010-10-17:</h2>
<p>This issue has been resolved.  I found a patch on the original sourceforge page that I have imported into the git repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kwartzlab.ca/2010/10/sooncon-badge-help/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
