Examples of I2c in Python
#8
I have been working on getting the Adafruit library for the BN055  9DOF IMU working.
The adafruit code only needs to be modified to set which pin you are using to run the reset pin.
The catch was that the GPIO needed to be identified as the RPi equivalent GPIO.
After that, everything works great.

It's a one line change in the example code, but I have forked the adafruit library and it is available on github here:
https://github.com/henryirvine/Adafruit_...BNO055.git

The base adafruit GPIO library I have also patched to work with Pine64, it is available on github here:
https://github.com/henryirvine/Adafruit_Python_GPIO.git

Have fun with your Pine64, I sure am!
  Reply


Messages In This Thread
Examples of I2c in Python - by blanius - 12-12-2016, 09:12 AM
RE: Examples of I2c in Python - by martinayotte - 12-15-2016, 03:37 PM
RE: Examples of I2c in Python - by HayseedGeek - 12-29-2016, 02:20 PM
RE: Examples of I2c in Python - by dkryder - 12-29-2016, 07:11 PM
RE: Examples of I2c in Python - by martinayotte - 12-30-2016, 03:39 PM
RE: Examples of I2c in Python - by dkryder - 01-10-2017, 02:53 PM
RE: Examples of I2c in Python - by GliderHenry - 09-27-2017, 10:35 PM
RE: Examples of I2c in Python - by GliderHenry - 10-02-2017, 08:25 PM
RE: Examples of I2c in Python - by tllim - 10-02-2017, 08:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting Temperature/Humidity/Ambient Light data with Python Yomet 8 11,641 10-02-2016, 02:36 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)