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 — Happy CyberMonday ya’ll it’s #MakerBusiness
Wearables — Don’t forget a coat
Electronics — Watch that ground clip!
Biohacking — MD2K – Mobile Sensor Data to Knowledge
No comments yet.
Sorry, the comment form is closed at this time.