ASK AN ENGINEER is LIVE now! Click here to watch our weekly show with Ladyada!

July 2, 2013 AT 9:32 pm

Adafruit BeagleBone IO Python Library Updated with I2C Support (and pip/easy_install)

beaglebone_black

We’ve updated the BeagleBone Python IO library to include support for I2C.  This is the same library that was written by Kevin Townsend for the Raspberry Pi, so your code should be fairly portable.  In fact, the few libraries we spot tested in our Adafruit-Raspberry-Pi-Python-Code repository worked just fine on the BeagleBone Black (not all have been tested yet…).  Neat!

The installation instructions have a new mini-guide on how to use the new I2C module. In addition, we’ve added new installation instructions that should make it easier to install and upgrade.  You can now use ‘pip install Adafruit_BBIO’ to install the library once you have the dependencies installed.

If you run into any issues using any of the modules (GPIO, PWM, ADC, and I2C) please file an issue on our GitHub issue tracker.


“D is for Diode” – Circuit Playground Episode 4 is out now! CLICK HERE TO WATCH!

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!



1 Comment

  1. Please note that the i2c PWM driver chips also work using the rPi code.

Sorry, the comment form is closed at this time.