{"id":14603,"date":"2016-04-21T18:36:31","date_gmt":"2016-04-21T17:36:31","guid":{"rendered":"http:\/\/www.recantha.co.uk\/blog\/?p=14603"},"modified":"2016-04-21T18:41:23","modified_gmt":"2016-04-21T17:41:23","slug":"gpio-zero-v1-2-for-the-raspberry-pi-hits-raspbian","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=14603","title":{"rendered":"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/i0.wp.com\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png?resize=500%2C510\" width=\"500\" height=\"510\" \/><\/p>\n<p>GPIO Zero, the easy-to-use Python library for the Raspberry Pi&#8217;s GPIO pins has just had an update on the Raspbian repository. It&#8217;s been available for a couple of weeks now via a slightly convoluted route, but is now available with a simple:<\/p>\n<pre>sudo apt-get update &amp;&amp; sudo apt-get install python3-gpiozero<\/pre>\n<p>The update includes the following new features:<\/p>\n<ul>\n<li>An interface for the Energenie GPIO add-on board (and therefore the RF plug sockets it controls)<\/li>\n<li>A generic\u00a0object for line sensors.<\/li>\n<li>A generic object for ultrasonic distance sensors.<\/li>\n<li>An object for the <a href=\"https:\/\/ryanteck.uk\/raspberry-pi\/114-snowpi-the-gpio-snowman-for-raspberry-pi-0635648608303.html\" target=\"_blank\">SnowPi add-on board<\/a>.<\/li>\n<li>An idea of a &#8216;holdable button&#8217; so you can specify different actions to occur if a button is pressed momentarily and when it is pressed and held.<\/li>\n<li>A pulsable LED (which could be done before, but this makes it simpler)<\/li>\n<li>More support for Analog to Digital converter chips.<\/li>\n<li>Various bells-and-whistles.<\/li>\n<\/ul>\n<p><a href=\"http:\/\/bennuttall.com\/whats-new-gpio-zero-v1-2\/\" target=\"_blank\">A blog post from the Raspberry Pi Foundation&#8217;s Ben Nuttall, who manages the project, is available here with much more detail as to what the update includes<\/a>.<\/p>\n<p>A big shout out to\u00a0<a href=\"https:\/\/twitter.com\/waveform80\">Dave Jones<\/a>\u00a0who did most of the work on the actual code. It&#8217;s fantastic how the community at large is contributing, too!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GPIO Zero, the easy-to-use Python library for the Raspberry Pi&#8217;s GPIO pins has just had an update on the Raspbian repository. It&#8217;s been available for a couple of weeks now via a slightly convoluted route, but is now available with&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=14603\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[39,42,49],"tags":[],"class_list":["post-14603","post","type-post","status-publish","format-standard","hentry","category-programming","category-raspberry-pi","category-software"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>GPIO Zero v1.2 for the Raspberry Pi hits Raspbian - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=14603\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"GPIO Zero, the easy-to-use Python library for the Raspberry Pi&#8217;s GPIO pins has just had an update on the Raspbian repository. It&#8217;s been available for a couple of weeks now via a slightly convoluted route, but is now available with&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=14603\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-21T17:36:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-04-21T17:41:23+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian\",\"datePublished\":\"2016-04-21T17:36:31+00:00\",\"dateModified\":\"2016-04-21T17:41:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603\"},\"wordCount\":202,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603#primaryimage\"},\"thumbnailUrl\":\"http:\/\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png\",\"articleSection\":[\"Programming\",\"Raspberry Pi Foundation\",\"Software\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=14603#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603\",\"name\":\"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603#primaryimage\"},\"thumbnailUrl\":\"http:\/\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png\",\"datePublished\":\"2016-04-21T17:36:31+00:00\",\"dateModified\":\"2016-04-21T17:41:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=14603\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603#primaryimage\",\"url\":\"http:\/\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png\",\"contentUrl\":\"http:\/\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14603#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=14603","og_locale":"en_US","og_type":"article","og_title":"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian - Raspberry Pi Pod","og_description":"GPIO Zero, the easy-to-use Python library for the Raspberry Pi&#8217;s GPIO pins has just had an update on the Raspbian repository. It&#8217;s been available for a couple of weeks now via a slightly convoluted route, but is now available with&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=14603","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2016-04-21T17:36:31+00:00","article_modified_time":"2016-04-21T17:41:23+00:00","og_image":[{"url":"http:\/\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14603#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14603"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian","datePublished":"2016-04-21T17:36:31+00:00","dateModified":"2016-04-21T17:41:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14603"},"wordCount":202,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14603#primaryimage"},"thumbnailUrl":"http:\/\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png","articleSection":["Programming","Raspberry Pi Foundation","Software"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=14603#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14603","url":"https:\/\/www.recantha.co.uk\/blog\/?p=14603","name":"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14603#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14603#primaryimage"},"thumbnailUrl":"http:\/\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png","datePublished":"2016-04-21T17:36:31+00:00","dateModified":"2016-04-21T17:41:23+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14603#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=14603"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14603#primaryimage","url":"http:\/\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png","contentUrl":"http:\/\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14603#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-3Nx","jetpack-related-posts":[{"id":14158,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14158","url_meta":{"origin":14603,"position":0},"title":"New version of Raspbian Jessie released for the Raspberry Pi","author":"Michael Horne","date":"12 February 2016","format":false,"excerpt":"A new version of the Raspbian Jessie operating system has been released. The following software packages have been\u00a0updated: Sonic Pi - now at version 2.9 Scratch has been updated with\u00a0improved sound input capabilities, support for the CamJam EduKit 3 robotics board, basic PWM support in the GPIO server, and various\u2026","rel":"","context":"In &quot;Graphics&quot;","block_context":{"text":"Graphics","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=67"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2016\/02\/neverball.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2016\/02\/neverball.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2016\/02\/neverball.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2016\/02\/neverball.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":11971,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=11971","url_meta":{"origin":14603,"position":1},"title":"GPIO problems on the Raspberry Pi 2","author":"Michael Horne","date":"9 February 2015","format":false,"excerpt":"EDIT\/UPDATE: This issue is now resolved Simply update your Raspberry Pi to fix this issue: sudo apt-get update sudo apt-get upgrade There is currently an issue with using the GPIO pins on the Raspberry Pi 2. The issue concerns the RPi.GPIO Python library, which currently does not work properly. The\u2026","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2015\/02\/gpio.gif?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2015\/02\/gpio.gif?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2015\/02\/gpio.gif?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":19358,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=19358","url_meta":{"origin":14603,"position":2},"title":"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 &#8211; includes physical pin numbering!","author":"Michael Horne","date":"13 February 2019","format":false,"excerpt":"Ben Nuttall over at Raspberry Pi has announced the release of GPIO Zero 1.5. This is a significant release and includes several enhancements. Improvements to the DistanceSensor class giving more accurate and reliable readings. Improvements to the source\/value functionality meaning you could just do: led.source = button to have a\u2026","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":17877,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=17877","url_meta":{"origin":14603,"position":3},"title":"Physical computing from a PC or Mac using a Raspberry Pi Zero","author":"Michael Horne","date":"4 December 2017","format":false,"excerpt":"Gordon Hollingworth, over at Raspberry Pi, has just blogged an exciting new development that means you can now use a Raspberry Pi Zero's GPIO pins from your PC or Mac. You'll need to install Raspbian x86 Stretch\u00a0on the non-Zero machine first. Now it\u00a0looks like you don't need an SD card\u2026","rel":"","context":"In &quot;Networking&quot;","block_context":{"text":"Networking","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=33"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/12\/IMG_20171127_164539-500x375.jpg?fit=500%2C375&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":13999,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=13999","url_meta":{"origin":14603,"position":4},"title":"Shutdown your Raspberry Pi using a paper clip","author":"Michael Horne","date":"8 January 2016","format":false,"excerpt":"When you're running your Raspberry Pi headless, one of the first things you should concern yourself with is how to shut it down safely.\u00a0Shutting it down by simply pulling the power out can result in a corrupt SD card or damaged files. If you had it connected to a network,\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=39"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/01\/paper-clip.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/01\/paper-clip.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/01\/paper-clip.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/01\/paper-clip.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":14742,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14742","url_meta":{"origin":14603,"position":5},"title":"Raspbian operating system for Raspberry Pi receives another update","author":"Michael Horne","date":"13 May 2016","format":false,"excerpt":"Simon Long has just posted on the Raspberry Pi Foundation blog about the latest update to the Raspbian operating system. The main changes are as follows: A new taskbar icon and user interface for connecting Bluetooth devices. Support from Bluetooth audio (with some caveats). An SD card copier utility. The\u2026","rel":"","context":"In &quot;Audio&quot;","block_context":{"text":"Audio","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2016\/05\/btdialog.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2016\/05\/btdialog.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2016\/05\/btdialog.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14603"}],"version-history":[{"count":4,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14603\/revisions"}],"predecessor-version":[{"id":14607,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14603\/revisions\/14607"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}