{"id":9094,"date":"2014-08-29T21:40:23","date_gmt":"2014-08-30T01:40:23","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=9094"},"modified":"2014-09-05T09:39:33","modified_gmt":"2014-09-05T13:39:33","slug":"three-tact-switches-three-leds-three-io-lines","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/three-tact-switches-three-leds-three-io-lines\/","title":{"rendered":"Three tact switches, three LEDs, three I\/O lines"},"content":{"rendered":"<p>Francois AUGER &amp; Philippe Fretaud has posted this <a href=\"http:\/\/edn.com\/design\/systems-design\/4433477\/3-pins--3-LEDs--3-buttons\" target=\"_blank\"><strong>Design Idea on EDN<\/strong><\/a> that shows how to drive three LEDs and scan three tact switches with only three I\/O pins of microcontroller. They have demonstrated the technique using the Atmel microcontroller (Arduino), and the technique could be useful for any low pin count devices where you can run out of I\/O resources easily.<\/p>\n<div id=\"attachment_9095\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/?attachment_id=9095\" rel=\"attachment wp-att-9095\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9095\" class=\"size-medium wp-image-9095\" alt=\"3 switches and 3 LEDs to 3 I\/O pins\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/08\/DI5396f1s-550x636.png\" width=\"550\" height=\"636\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/08\/DI5396f1s-550x636.png 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/08\/DI5396f1s.png 600w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-9095\" class=\"wp-caption-text\">3 switches and 3 LEDs to 3 I\/O pins<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Francois AUGER &amp; Philippe Fretaud has posted this Design Idea on EDN that shows how to drive three LEDs and scan three tact switches with only three I\/O pins of microcontroller. They have demonstrated the technique using the Atmel microcontroller (Arduino), and the technique could be useful for any low pin count devices where you can run out of I\/O resources easily.<\/p>\n","protected":false},"author":1,"featured_media":9095,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[183],"tags":[237,859],"class_list":["post-9094","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-and-tricks","tag-multiplexing","tag-scanning"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/9094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=9094"}],"version-history":[{"count":4,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/9094\/revisions"}],"predecessor-version":[{"id":9115,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/9094\/revisions\/9115"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/9095"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=9094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=9094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=9094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}