Welcome, Guest. Please Login.
YaBB - Yet another Bulletin Board
May 10th, 2025, 9:05am
News: Welcome to the Cabin! If you want to register send me an e-mail. you can link to my e-mail under the welcome page.


Pages: 1
Major Update in R-Pi GPIO & GPIO Programming (Read 137 times)
Fernando
YaBB Administrator
*****
NY City




Posts: 2380
Gender: male
Major Update in R-Pi GPIO & GPIO Programming
Aug 7th, 2017, 12:00pm
 
Interesting piece of work here. With this new Python Library, one can access all of the pins of the R-Pi GPIO as GPIO format and standard. There are also some added modules to add motors, LEDs, Servos, etc., to the GPIO without needing to set up the large code to initial them. But the question is, as I posted on their blog thread, are the Serial and IC2 ports on these can still be used as such or are they blocked out to be used as GPIO?
 
I also asked does this works on the older Model A/Bs? Though with the smaller GPIO, the Model A/Bs can have more GPIO with such programming. Furthermore the hidden GPIO (the 8 pins next to the main GPIO) has 6 extra GPIO if you add your own header to it.
 
Here's the link to the article: https://www.raspberrypi.org/blog/gpio-zero-update/
Back to top
 
 
View Profile   IP Logged
Fernando
YaBB Administrator
*****
NY City




Posts: 2380
Gender: male
Re: Major Update in R-Pi GPIO & GPIO Programming
Reply #1 - Aug 7th, 2017, 12:23pm
 
D'Oh! Its not mentioned in the article, but to perform the upgrade/update, you should have the original GPIO-Zero Python Library installed so they can be upgraded.
 
Here is the article for the article for installing the original GPIO-Zero Python Library: https://www.raspberrypi.org/blog/gpio-zero-a-friendly-python-api-for-physical-co mputing/
 
According to the article, this Library is already installed on the "New Jessie" (as of 11/15). But in case you use Wheezy or the older Jessie (Pre-11/15) you would need to install GPIO-Zero to the system. To install this, one has to simply update/upgrade. The commands for this are:
Code:
sudo apt-get update
sudo apt-get upgrade
 

Back to top
 
 
View Profile   IP Logged
Hondo I. Sackett
YaBB Administrator
*****
Behind you!




Posts: 1349
Gender: male
Re: Major Update in R-Pi GPIO & GPIO Programming
Reply #2 - Aug 7th, 2017, 10:10pm
 
very cool. Like a good update!
Back to top
 
 

Well the cowboy, like the red man, you had to leave your land
You can't raise your stock and plant your crop in the gumbo and the sand
Greed disguised as progress has put us to the test
They won't be glad until we're gone from our home out in the west
It's sad to see those good old days replaced with greed and doubt
Soon we'll leave the country, the campfire has gone out
Bid 'em all adieu, you can't turn the world about
The cowboy left the country, the campfire has gone out
View Profile WWW   IP Logged
Pages: 1