{"id":14213,"date":"2017-08-01T13:54:07","date_gmt":"2017-08-01T17:54:07","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=14213"},"modified":"2017-08-01T13:54:07","modified_gmt":"2017-08-01T17:54:07","slug":"gpiozero-is-rather-good","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2017\/08\/01\/gpiozero-is-rather-good\/","title":{"rendered":"gpiozero is rather good"},"content":{"rendered":"<p><a href=\"https:\/\/gpiozero.readthedocs.io\/en\/stable\/\">gpiozero<\/a> (\u00e2\u20ac\u02dc<em>A simple interface to GPIO devices with Raspberry Pi<\/em>\u00e2\u20ac\u2122) continues to impress me. One of its newer features is a pinout guide, accessed by the <a href=\"https:\/\/gpiozero.readthedocs.io\/en\/stable\/cli_tools.html#pinout\">pinout<\/a> command:<\/p>\n<figure id=\"attachment_14214\" aria-describedby=\"caption-attachment-14214\" style=\"width: 326px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/08\/raspberry_pi_zero-pinout.pdf\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14214\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/08\/raspberry_pi_zero-pinout.png\" alt=\"\" width=\"326\" height=\"667\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/08\/raspberry_pi_zero-pinout.png 326w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/08\/raspberry_pi_zero-pinout-78x160.png 78w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/08\/raspberry_pi_zero-pinout-156x320.png 156w\" sizes=\"auto, (max-width: 326px) 100vw, 326px\" \/><\/a><figcaption id=\"caption-attachment-14214\" class=\"wp-caption-text\">Raspberry Pi Zero pinout &#8211; click through for PDF<\/figcaption><\/figure>\n<p>I&#8217;m trying to resist running it on every generation of Raspberry Pi that I have (B, A, 2B, 3B, Zero, Zero W) just for these pretty displays.<\/p>\n<p>(<em>ANSI console colours captured using <tt>script<\/tt>, then fed through <tt>ansi2html<\/tt> [from the Ubuntu <tt>colorized-logs<\/tt> package], printed to PDF from Firefox then mucked about a bit with in Inkscape<\/em>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>gpiozero (\u00e2\u20ac\u02dcA simple interface to GPIO devices with Raspberry Pi\u00e2\u20ac\u2122) continues to impress me. One of its newer features is a pinout guide, accessed by the pinout command: I&#8217;m trying to resist running it on every generation of Raspberry Pi that I have (B, A, 2B, 3B, Zero, Zero W) just for these pretty displays. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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":[7],"tags":[3064,2540,2510],"class_list":["post-14213","post","type-post","status-publish","format-standard","hentry","category-computers-suck","tag-pinout","tag-python","tag-raspberrypi"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-3Hf","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/14213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=14213"}],"version-history":[{"count":1,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/14213\/revisions"}],"predecessor-version":[{"id":14216,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/14213\/revisions\/14216"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=14213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=14213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=14213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}