{"id":5310,"date":"2013-07-24T15:16:13","date_gmt":"2013-07-24T15:16:13","guid":{"rendered":"http:\/\/178.62.14.192\/?p=5310"},"modified":"2013-07-24T15:16:13","modified_gmt":"2013-07-24T15:16:13","slug":"game-of-life-programming-tutorial-for-the-raspberrypi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=5310","title":{"rendered":"Game of Life programming tutorial for the #RaspberryPi"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone\" alt=\"\" src=\"https:\/\/i0.wp.com\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG?resize=320%2C256\" width=\"320\" height=\"256\" \/><\/p>\n<p>Trevor Appleton has done a great tutorial on creating Conway&#8217;s\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Conway's_Game_of_Life\">Game of Life<\/a> using Python and Pygame. This is a great idea for schools as it teaches children programming in general, algorithms, a little graphics and has a good, visual result.<\/p>\n<p><a href=\"http:\/\/trevorappleton.blogspot.co.uk\/2013\/07\/python-game-of-life.html\">Read the tutorial here and give it a go!<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trevor Appleton has done a great tutorial on creating Conway&#8217;s\u00a0Game of Life using Python and Pygame. This is a great idea for schools as it teaches children programming in general, algorithms, a little graphics and has a good, visual result.&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=5310\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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":[17,21,39,51],"tags":[],"class_list":["post-5310","post","type-post","status-publish","format-standard","hentry","category-education","category-games","category-programming","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Game of Life programming tutorial for the #RaspberryPi - 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=5310\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Game of Life programming tutorial for the #RaspberryPi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Trevor Appleton has done a great tutorial on creating Conway&#8217;s\u00a0Game of Life using Python and Pygame. This is a great idea for schools as it teaches children programming in general, algorithms, a little graphics and has a good, visual result.&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=5310\" \/>\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=\"2013-07-24T15:16:13+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Game of Life programming tutorial for the #RaspberryPi\",\"datePublished\":\"2013-07-24T15:16:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310\"},\"wordCount\":59,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310#primaryimage\"},\"thumbnailUrl\":\"http:\/\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG\",\"articleSection\":[\"Education\",\"Games\",\"Programming\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=5310#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310\",\"name\":\"Game of Life programming tutorial for the #RaspberryPi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310#primaryimage\"},\"thumbnailUrl\":\"http:\/\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG\",\"datePublished\":\"2013-07-24T15:16:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=5310\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310#primaryimage\",\"url\":\"http:\/\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG\",\"contentUrl\":\"http:\/\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=5310#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Game of Life programming tutorial for the #RaspberryPi\"}]},{\"@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":"Game of Life programming tutorial for the #RaspberryPi - 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=5310","og_locale":"en_US","og_type":"article","og_title":"Game of Life programming tutorial for the #RaspberryPi - Raspberry Pi Pod","og_description":"Trevor Appleton has done a great tutorial on creating Conway&#8217;s\u00a0Game of Life using Python and Pygame. This is a great idea for schools as it teaches children programming in general, algorithms, a little graphics and has a good, visual result.&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=5310","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-07-24T15:16:13+00:00","og_image":[{"url":"http:\/\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=5310#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=5310"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Game of Life programming tutorial for the #RaspberryPi","datePublished":"2013-07-24T15:16:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=5310"},"wordCount":59,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=5310#primaryimage"},"thumbnailUrl":"http:\/\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG","articleSection":["Education","Games","Programming","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=5310#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=5310","url":"https:\/\/www.recantha.co.uk\/blog\/?p=5310","name":"Game of Life programming tutorial for the #RaspberryPi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=5310#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=5310#primaryimage"},"thumbnailUrl":"http:\/\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG","datePublished":"2013-07-24T15:16:13+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=5310#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=5310"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=5310#primaryimage","url":"http:\/\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG","contentUrl":"http:\/\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=5310#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Game of Life programming tutorial for the #RaspberryPi"}]},{"@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-1nE","jetpack-related-posts":[{"id":5140,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5140","url_meta":{"origin":5310,"position":0},"title":"Build your first game using Scratch on the #RaspberryPi","author":"Michael Horne","date":"17 July 2013","format":false,"excerpt":"TechRadar have just published an in-depth tutorial on creating your first game using Scratch on the Raspberry Pi.\u00a0Read the tutorial here","rel":"","context":"In &quot;Games&quot;","block_context":{"text":"Games","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=21"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9925,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=9925","url_meta":{"origin":5310,"position":1},"title":"Program Conway&#8217;s Game of Life in Python on the #RaspberryPi","author":"Michael Horne","date":"3 June 2014","format":false,"excerpt":"Trevor Appleton's written a great tutorial on creating the famous Conway's Game of Life on the Pi. I won't go into the technicalities of it, apart from to say it uses Pygame, but this is a great exercise to do if you're interested in some really cool programming. Read it\u2026","rel":"","context":"In &quot;Games&quot;","block_context":{"text":"Games","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=21"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/3.bp.blogspot.com\/-2M1sAfALc5U\/Ue2Pdo2I9jI\/AAAAAAAABRI\/Ej-c3KG0fcI\/s320\/GoL_Random.PNG?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":12826,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12826","url_meta":{"origin":5310,"position":2},"title":"Write your own Scratch game on the Raspberry Pi","author":"Michael Horne","date":"27 June 2015","format":false,"excerpt":"It seems like ages since I featured\u00a0anything using Scratch. Thanks to Pi Weekly for spotting this one. Here's a nice tutorial from Stuart Andrews in which he creates a nautical-themed game using Scratch. If you want to get started with\u00a0Scratch, this is a pretty good beginners tutorial. Read it here.","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\/cdn2.alphr.com\/sites\/alphr\/files\/styles\/insert_main_image\/public\/images\/dir_365\/it_photo_182857.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":15693,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=15693","url_meta":{"origin":5310,"position":3},"title":"Using Python to estimate your vocabulary &#8211; practical programming produces perfect picture","author":"Michael Horne","date":"13 October 2016","format":false,"excerpt":"Alex Eames has been rediscovering the joy of practical programming and has come up with a great Python tutorial. The tutorial investigates the level of your vocabulary by importing a list of words and asking you whether you know what that word means. By using some maths, it then works\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\/raspi.tv\/wp-content\/uploads\/2016\/10\/dictionary-300x208.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":11452,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=11452","url_meta":{"origin":5310,"position":4},"title":"Create an Internet of Things device using Java on the Raspberry Pi","author":"Michael Horne","date":"17 November 2014","format":false,"excerpt":"Jose Cruz from Oracle has written a wiring and programming tutorial to read a flame sensor, movement sensor (PIR) and an ultrasonic distance sensor using Java ME 8. Read the tutorial here.","rel":"","context":"In &quot;Internet of things&quot;","block_context":{"text":"Internet of things","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=26"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.oracle.com\/ocom\/groups\/public\/%40otn\/documents\/digitalasset\/2295978.gif?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.oracle.com\/ocom\/groups\/public\/%40otn\/documents\/digitalasset\/2295978.gif?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.oracle.com\/ocom\/groups\/public\/%40otn\/documents\/digitalasset\/2295978.gif?resize=525%2C300 1.5x"},"classes":[]},{"id":10571,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=10571","url_meta":{"origin":5310,"position":5},"title":"Control the Raspberry Pi GPIO from Qt4","author":"Michael Horne","date":"31 July 2014","format":false,"excerpt":"Hussam Al-Hertani on his blog Hertaville has written a tutorial and given sample code for controlling the GPIO from within the Qt4 programming language. You need to install Qt in order to do it, but all that's covered by the tutorial. Read it here.","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\/hertaville.com\/wp-content\/uploads\/2014\/07\/qtgpiooversshwx11.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hertaville.com\/wp-content\/uploads\/2014\/07\/qtgpiooversshwx11.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/hertaville.com\/wp-content\/uploads\/2014\/07\/qtgpiooversshwx11.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hertaville.com\/wp-content\/uploads\/2014\/07\/qtgpiooversshwx11.png?resize=700%2C400 2x, https:\/\/i0.wp.com\/hertaville.com\/wp-content\/uploads\/2014\/07\/qtgpiooversshwx11.png?resize=1050%2C600 3x, https:\/\/i0.wp.com\/hertaville.com\/wp-content\/uploads\/2014\/07\/qtgpiooversshwx11.png?resize=1400%2C800 4x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5310","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=5310"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5310\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}