{"id":610,"date":"2019-03-09T01:07:23","date_gmt":"2019-03-09T09:07:23","guid":{"rendered":"https:\/\/doubleecpu.com\/?page_id=610"},"modified":"2019-09-25T01:38:05","modified_gmt":"2019-09-25T08:38:05","slug":"rpi-gpio","status":"publish","type":"page","link":"https:\/\/doubleecpu.com\/index.php\/raspberrypi\/rpi-gpio\/","title":{"rendered":"rpi-gpio"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Requirements For Raspbian <\/h3>\n\n\n\n<p>Requires Node.js<br>Setup Simple <a href=\"https:\/\/doubleecpu.com\/index.php\/raspian-linux-programs\/javascript-2\/nodejssimple\/\">Node.js website<\/a> to verify setup<\/p>\n\n\n\n<p>Requires gcc compiler, check if gcc\/g++ is installed <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">     sudo apt-get install gcc g++<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Installation<\/h3>\n\n\n\n<p>Install npm javascript GPIO control<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">     npm install rpi-gpio<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1326\" height=\"433\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/09\/Node_PiGPIO.png\" alt=\"\" class=\"wp-image-1762\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Web App<\/h3>\n\n\n\n<p>open the web app by entering the raspberry pi IP address (i.e. 192.168.0.54)  . From the website the GPIO pins can be  turned on or off  (set to HIGH or LOW).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"925\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2019\/09\/Node_PiGPIO_WebApp.png\" alt=\"\" class=\"wp-image-1763\"\/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Requirements For Raspbian Requires Node.jsSetup Simple Node.js website to verify setup Requires gcc compiler, check if gcc\/g++ is installed sudo apt-get install gcc g++ Installation Install npm javascript GPIO control npm install rpi-gpio Web App open the web app by entering the raspberry pi IP address (i.e. 192.168.0.54) . From the website the GPIO pins &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/doubleecpu.com\/index.php\/raspberrypi\/rpi-gpio\/\" class=\"more-link\">Read more<span class=\"screen-reader-text\"> &#8220;rpi-gpio&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":151,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-610","page","type-page","status-publish","hentry"],"featured_media_urls":[],"_links":{"self":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/comments?post=610"}],"version-history":[{"count":0,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/610\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/151"}],"wp:attachment":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/media?parent=610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}