{"id":1136,"date":"2013-09-20T09:41:35","date_gmt":"2013-09-20T09:41:35","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=1136"},"modified":"2014-09-26T15:05:14","modified_gmt":"2014-09-26T15:05:14","slug":"using-the-piface-in-a-c-project","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/pi-hardware\/third-party-hardware\/piface\/using-the-piface-in-a-c-project","title":{"rendered":"Using The PiFace In A C Project"},"content":{"rendered":"<h4>\nSchematic<br \/>\n<\/h4>\n<p>\nA schematic is available <a href=\"http:\/\/2.bp.blogspot.com\/-O8fqpxHsuFQ\/UhXwZzNJT7I\/AAAAAAAAIVw\/jhAsMoB2Ssg\/s1600\/Pi-face-digital-schematic.png\" target=\"_blank\">here<\/a>.\n<\/p>\n<h4>\nSetup The RPI&nbsp;Ready To Use The PiFace<br \/>\n<\/h4>\n<p>\nPiFace uses the SPI port. &nbsp;Enable the SPI port following the instructions <a href=\"https:\/\/raspberry-projects.com\/pi\/pi-operating-systems\/raspbian\/io-pins-raspbian\/spi-pins\" target=\"_blank\">here<\/a>.\n<\/p>\n<h4>\nC Source Code<br \/>\n<\/h4>\n<p>\nOur C driver for the PiFace can be downloaded from GitHub <a href=\"https:\/\/github.com\/ibexuk\/C_RaspberryPi_PiFace\" target=\"_blank\">here<\/a>.\n<\/p>\n<p>\nWe also have a version which allows PiFace inputs to be used as outputs and allows sequential writing to them <a href=\"https:\/\/github.com\/ibexuk\/C_RaspberryPi_PiFace_Inputs_As_Outputs\" target=\"_blank\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Schematic A schematic is available here. Setup The RPI&nbsp;Ready To Use The PiFace PiFace uses the SPI port. &nbsp;Enable the SPI port following the instructions here. C Source Code Our C driver for the PiFace can be downloaded from GitHub here. We also have a version which allows PiFace inputs to be used as outputs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[76],"tags":[],"class_list":["post-1136","post","type-post","status-publish","format-standard","hentry","category-piface"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1136","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=1136"}],"version-history":[{"count":8,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1136\/revisions"}],"predecessor-version":[{"id":1728,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1136\/revisions\/1728"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=1136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=1136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=1136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}