<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: external interrupts</title>
		<link>http://forums.leaflabs.com/topic.php?id=173</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:19:44 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=173" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "external interrupts"</title>
			<link>http://forums.leaflabs.com/topic.php?id=173#post-1179</link>
			<pubDate>Mon, 13 Sep 2010 11:48:54 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1179@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Its true, exti interrupts are in there, work, but are undocumented. The docs omission is historically accidental, however we wont push docs in for this feature until we've tested it to our satisfaction. There is nothing worse than documentation that lies! If youre using the exti interrupts and have any success/failure/caveat stories let us know.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snigelen on "external interrupts"</title>
			<link>http://forums.leaflabs.com/topic.php?id=173#post-1125</link>
			<pubDate>Thu, 09 Sep 2010 06:35:07 +0000</pubDate>
			<dc:creator>snigelen</dc:creator>
			<guid isPermaLink="false">1125@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I don't know if it is supported yet, since I can't find it documented. But there is in the source ( hardware/leaflabs/cores/maple/ext_interrupts.[ch]). The following sketch seems to work&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#define LED_PIN 13
#define INT_PIN 1

void setup() {
  pinMode(LED_PIN, OUTPUT);
  pinMode(INT_PIN, INPUT_PULLDOWN);
  attachInterrupt(INT_PIN, exti_handler, RISING);
}

// Called when PIN1 goes high.
void exti_handler(void)
{
  // Remember the state of the led
  static bool led_on = false;

  // Toggle led state
  led_on = !led_on;
  digitalWrite(LED_PIN, led_on);
}

void loop() {
  // Nothing.
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It only works for digital pin 0-13 though.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wilsonjc on "external interrupts"</title>
			<link>http://forums.leaflabs.com/topic.php?id=173#post-1124</link>
			<pubDate>Wed, 08 Sep 2010 21:42:21 +0000</pubDate>
			<dc:creator>wilsonjc</dc:creator>
			<guid isPermaLink="false">1124@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;is there any easy way to trigger interrupts via external pins.   i have three pins that i would lke to trigger the same interrupt on change.    How would i do this?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
