We’ve updated the Adafruit Raspberry Pi Python library to be easier than ever to install and use. You can now use pip to install the library, and import one of our many modules and use them from anywhere.
Make sure you have pip installed (on debian it’s the ‘python-pip’ package), then just execute: pip install Adafruit_Libraries
Once you’ve done that you can easily import the specific module you’d like to use:
from Adafruit.I2C import Adafruit_I2C
from Adafruit.BMP085 import Adafruit_BMP085
We’d like to thank Michael Humphris for sending us a pull request with the majority of this completed for us. Everyone wins with open source! 🙂
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Apple: Right to Repair iPhones Encourages Hackers @Apple :)
Wearables — Last minute glow
Electronics — High voltage logic
Biohacking — University Community Testing Services
No comments yet.
Sorry, the comment form is closed at this time.