adafruit / Adafruit_CircuitPython_IL0373

CircuitPython `displayio` driver for IL0373-based ePaper displays
MIT License
5 stars 11 forks source link

Make examples compatible with both 8.x.x and 9.0.0 #31

Open dhalbert opened 9 months ago

dhalbert commented 9 months ago

The example code with import fourwire shows up on this guide: https://learn.adafruit.com/adafruit-2-9-eink-display-breakouts-and-featherwings/circuitpython-usage

So the guide is using only 9.0.0-compatible code. The example(s) should be reworked to be compatible with both, at least for now.

There are probably other libraries where this happened.

mplnck commented 6 months ago

The example file does not distinguish between the versions. In the history you can find the changes and change it back. https://github.com/adafruit/Adafruit_CircuitPython_IL0373/commit/86ac700c1bf15fd1abb2691fc0419041f479cf10#diff-2fcc827ac69767c14f208602b7eb94fcf84965a4fdbdccdda02d60e968508b07