diff --git a/adafruit_pyoa.py b/adafruit_pyoa.py index e0faf4c..d8be062 100755 --- a/adafruit_pyoa.py +++ b/adafruit_pyoa.py @@ -87,7 +87,10 @@ def __init__(self) -> None: self._background_file = None self._wavfile = None - self._display.auto_brightness = False + try: + self._display.auto_brightness = False + except AttributeError: + pass self.backlight_fade(0) self._display.show(self.root_group) self.touchscreen = None