{"id":11081,"date":"2015-11-03T20:00:42","date_gmt":"2015-11-04T04:00:42","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=11081"},"modified":"2025-05-30T08:57:28","modified_gmt":"2025-05-30T15:57:28","slug":"external-interrupts-on-mpide","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/external-interrupts-on-mpide\/","title":{"rendered":"External Interrupts on MPIDE"},"content":{"rendered":"<p>Do you remember the <a href=\"http:\/\/www.instructables.com\/id\/For-Cheap-Robots\/\">For Cheap Robots series<\/a> on Instructables by our very own Jay Weeks? Now he&#8217;s back with <a href=\"http:\/\/www.instructables.com\/id\/External-Interrupts-on-MPIDE-part-1-attachInterrup\/?ALLSTEPS\">a brand new series on interrupts<\/a>. Specifically, external interrupts on MPIDE.<\/p>\n<p>You won&#8217;t need much for this tutorial, just one of the chipKIT boards from Digilent (these include the <a href=\"https:\/\/digilent.com\/reference\/microprocessor\/dp32\/start\" target=\"_blank\" rel=\"noopener\">DP32<\/a>, uC32, or <a href=\"https:\/\/digilent.com\/blog\/wf32\">WF32<\/a>), an appropriate programming cable, and some\u00a0wire.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-10294\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/15844110449_52be6e931e_o-600x474.png\" alt=\"15844110449_52be6e931e_o\" width=\"600\" height=\"474\" data-wp-pid=\"10294\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/15844110449_52be6e931e_o-600x474.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/15844110449_52be6e931e_o-1024x809.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/15844110449_52be6e931e_o-800x632.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/15844110449_52be6e931e_o.png 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>This tutorial covers both what interrupts aren&#8217;t and what they are, as well as guiding you through the code once you&#8217;ve uploaded the interrupts to whichever board you&#8217;re using. It then guides you through debouncing and then the main functions needed for implementing interrupts. The tutorial also explores volatile variables and precisely where you can find the interrupts.<\/p>\n<p>This is a good way to familiarize yourself with introductory interrupts. There&#8217;s a second part, so look forward to that in the coming days!<\/p>\n<p>&nbsp;<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-11081 jlk' data-task='like' data-post_id='11081' data-nonce='ac068a413b' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-11081 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-11081 jlk' data-task='unlike' data-post_id='11081' data-nonce='ac068a413b' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-11081 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-11081 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>What are interrupts and how do they work?<\/p>\n","protected":false},"author":7,"featured_media":11107,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1563,1561],"tags":[],"ppma_author":[4464],"class_list":["post-11081","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guide","category-applications"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/11\/interrupts-on-mpide.jpg","jetpack_sharing_enabled":true,"authors":[{"term_id":4464,"user_id":7,"is_guest":0,"slug":"amber_mear","display_name":"Amber Mear","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/d0fc56ab4035f79884675bde2a948e84c1d14dd33b730b4c142dde6f1a962395?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/11081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=11081"}],"version-history":[{"count":3,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/11081\/revisions"}],"predecessor-version":[{"id":31562,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/11081\/revisions\/31562"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/11107"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=11081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=11081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=11081"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=11081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}