adafruit / Adafruit_CircuitPython_PyPortal

CircuitPython driver for Adafruit PyPortal.
MIT License
45 stars 56 forks source link

handle no .auto-brightness #123

Closed dhalbert closed 1 year ago

dhalbert commented 1 year ago

CircuitPython 8 builds have dropped support for Display.auto_brightness (https://github.com/adafruit/circuitpython/pull/6734). These changes handle the attribute no longer being available in 8.x.x, while still working on 7.x.x.

See https://github.com/adafruit/Adafruit_Learning_System_Guides/pull/2239 for a more detailed explanation.