adafruit / Adafruit_Python_SSD1306

Python library to use SSD1306-based 128x64 or 128x32 pixel OLED displays with a Raspberry Pi or Beaglebone Black.
MIT License
542 stars 283 forks source link

Support python3 and while maintaining support for python 2.6+ #10

Closed patthoyts closed 8 years ago

patthoyts commented 8 years ago

Provided the latest Adafruit_GPIO library is available and the python3-smbus package has been installed this patch fixes the SSD1306 support when using python3 by handling the new absolute package naming and dealing with the new division semantics.

Signed-off-by: Pat Thoyts patthoyts@users.sourceforge.net

patthoyts commented 8 years ago

python3 support has been rolled in separately so this is now invalid.