<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using the IO on a Raspberry Pi 3 B+</title><link>/products/raspberry-pi/raspberrypi_projects/b/blog/posts/using-the-io-on-a-raspberry-pi-3-b</link><description>In my quest to use a Raspberry Pi 3B+ for creating art, I need to be able to control the GPIO pins. So next step was to look for some information on doing just that. A quick search of element14 uncovered this blog by shabaz where he illustrates ...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Using the IO on a Raspberry Pi 3 B+</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/using-the-io-on-a-raspberry-pi-3-b</link><pubDate>Sun, 17 Mar 2019 08:54:19 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9a72daa2-0bbe-48d9-870d-d5712e6933ab</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I’ve a few GPIO examples and blogs for C / C++ on a headless Pi with remote development on a Windows Eclipse environment and debugging from that same environment.&lt;/p&gt;&lt;p&gt;It’s cross compilation. All work to build the linux executable happens on the Windows PC.&lt;/p&gt;&lt;p&gt;When compilation is done, the file is moved to the Pi, executable flag set, and then debugged over your network. you can step through source code and see variable contents very similar to a local debug session.&lt;/p&gt;&lt;p&gt;I’ll try to find them back ...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6684&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Using the IO on a Raspberry Pi 3 B+</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/using-the-io-on-a-raspberry-pi-3-b</link><pubDate>Sun, 17 Mar 2019 03:01:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9a72daa2-0bbe-48d9-870d-d5712e6933ab</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Jon,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;That&amp;#39;s awesome, glad the blog was helpful!&lt;/p&gt;&lt;p&gt;In recent times, another Python API has become available, called &amp;quot;gpiozero&amp;quot;.&lt;/p&gt;&lt;p&gt;The one in that blog still works, but just in case you want to examine that other API too, there is some info here:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://gpiozero.readthedocs.io/en/stable/migrating_from_rpigpio.html" rel="nofollow ugc noopener" target="_blank" title="https://gpiozero.readthedocs.io/en/stable/migrating_from_rpigpio.html"&gt;https://gpiozero.readthedocs.io/en/stable/migrating_from_rpigpio.html&lt;/a&gt; &lt;/p&gt;&lt;p&gt;The original RPi.GPIO API is similar to how it would be done with any generic microcontroller, i.e. set a port pin to input or output mode, and then read or write it, and let the user code directly call this API and leave the user to optionally write any class to control a pin if desired, whereas gpiozero has ready-made classes for input/output devices, and creating an instance will set the port pin to input or output as part of that ready-made class code, without the user code needing to do that. &lt;/p&gt;&lt;p&gt;The gpiozero API was not available when that blog was written. I reckon some may still find the original API easier to understand but for others more familiar with classes and objects the gpiozero is probably cleaner. I&amp;#39;ve been in two minds to update that blog post, since it currently works and isn&amp;#39;t broken.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6684&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Using the IO on a Raspberry Pi 3 B+</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/using-the-io-on-a-raspberry-pi-3-b</link><pubDate>Sun, 17 Mar 2019 00:59:14 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9a72daa2-0bbe-48d9-870d-d5712e6933ab</guid><dc:creator>fmilburn</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Jon,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have been using Geany as the IDE for Python on the Raspberry Pi.&amp;nbsp; It has the advantage of highlighting key words, start the code running with a button click, etc.&amp;nbsp; I have been using it long enough now that I have forgotten what getting started tutorial I used but I don’t remember it being difficult.&amp;nbsp; It is lightweight and quick. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Frank&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6684&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>