<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=5&amp;t=1555" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2007-08-16T11:18:20+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=1555</id>
<entry>
<author><name><![CDATA[StuartL]]></name></author>
<updated>2007-08-16T11:18:20+01:00</updated>
<published>2007-08-16T11:18:20+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10432#p10432</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10432#p10432"/>
<title type="html"><![CDATA[how do i get the state of the buttons(up,down,...) in C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10432#p10432"><![CDATA[
Scratch that question, the JPG you linked to contains everything I wanted to know, including that port F's A2D converters are free...<br /><br />Hmm.  6 axis IMU on CM5 anyone?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=645">StuartL</a> — Thu Aug 16, 2007 11:18 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[StuartL]]></name></author>
<updated>2007-08-16T11:14:22+01:00</updated>
<published>2007-08-16T11:14:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10431#p10431</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10431#p10431"/>
<title type="html"><![CDATA[how do i get the state of the buttons(up,down,...) in C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10431#p10431"><![CDATA[
Have you mapped the port uses of the CM5?  it's something I intended to do but haven't got to yet...<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=645">StuartL</a> — Thu Aug 16, 2007 11:14 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Lenny]]></name></author>
<updated>2007-07-21T20:27:05+01:00</updated>
<published>2007-07-21T20:27:05+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10083#p10083</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10083#p10083"/>
<title type="html"><![CDATA[how do i get the state of the buttons(up,down,...) in C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10083#p10083"><![CDATA[
Hello,<br /><br />i found the error. the pull-up resistor was not set for port E  <img src="http://forum.robosavvy.com/images/smilies/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /> <br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>DDRE = 0;                  //set port E to input direction<br />PORTE |= _BV&#40;PE4&#41;;    //enable pull-up resistor 4<br />EIMSK |= _BV&#40;INT4&#41;;   //enable interrupt 4<br /></code></dd></dl><br /><br />Bye<br />Lenny<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=677">Lenny</a> — Sat Jul 21, 2007 8:27 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Lenny]]></name></author>
<updated>2007-07-19T20:46:07+01:00</updated>
<published>2007-07-19T20:46:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10046#p10046</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10046#p10046"/>
<title type="html"><![CDATA[how do i get the state of the buttons(up,down,...) in C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1555&amp;p=10046#p10046"><![CDATA[
Hello,<br /><br />how do i get the state of the buttons(up,down,...) in C (avr-gcc)?<br /><br />The &quot;Up&quot;-Button is connected to the external-interrupt 4 as you can see her: <br /><a href="http://robosavvy.com/Builders/pepperm/CM-5%20Schematic%20V1.JPG" class="postlink">http://robosavvy.com/Builders/pepperm/CM-5%20Schematic%20V1.JPG</a><br /><br />i use a interrupt-routine to catch the keypress-signal.<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>SIGNAL &#40;SIG_INTERRUPT4&#41; //INT4 when Up-Key pressed<br />&#123;<br />   PORTC &amp;= ~_BV&#40;PC3&#41;;  //turns AUX-LED on<br />&#125;</code></dd></dl><br /><br />has anyone a working code-snippet?<br /><br />Bye<br />Lenny<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=677">Lenny</a> — Thu Jul 19, 2007 8:46 pm</p><hr />
]]></content>
</entry>
</feed>