adafruit / Adafruit_CircuitPython_FeatherWing

CircuitPython classes for Adafruit FeatherWings
MIT License
11 stars 13 forks source link

Removed Shared i2C bus from a bunch of FeatherWings #36

Closed makermelissa closed 5 years ago

makermelissa commented 5 years ago

In order to just use the onboard I2C or be able to pass a defined I2C into multiple FeatherWing libraries, I have removed the Shared I2C file. An additional parameter was added that defaults to using the onboard I2C if it's not specified. I tested this on the 7-Segment, AlphaNumeric, 16x8 Matrix and RTC FeatherWings. I don't have the Joystick or INA219 FeatherWings at the moment, so those are untested. However, based on my testing results of the other four and that the code is basically the same, it should work without a hitch. This PR is to address #35.