{"id":35,"date":"2012-07-24T19:18:24","date_gmt":"2012-07-24T19:18:24","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=35"},"modified":"2014-10-07T08:37:17","modified_gmt":"2014-10-07T08:37:17","slug":"io-pin-control-general","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/programming-in-c\/io-pins\/io-pin-control-general","title":{"rendered":"IO Pin Control &#8211; General"},"content":{"rendered":"<h4>Permissions<\/h4>\n<p>Any program that accesses the GPIO pins must be run as root, so if you get an error, remember to \u201csudo\u201d your command or run your application as root.<\/p>\n<p>To avoid this the GPIO pins can be exported and have their ownership changed appropriately <em>[Resource on this wanted]<\/em>.<\/p>\n<h4><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>Permissions Any program that accesses the GPIO pins must be run as root, so if you get an error, remember to \u201csudo\u201d your command or run your application as root. To avoid this the GPIO pins can be exported and have their ownership changed appropriately [Resource on this wanted].<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-io-pins"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":7,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":1814,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/35\/revisions\/1814"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}