X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/6dd6b7f805e60143548372ad59898d9448f98a47..09889f5e46420240ade4451f7af6f54814f8cfcd:/displayio/_display.py diff --git a/displayio/_display.py b/displayio/_display.py index 0a82e6e..9e72054 100644 --- a/displayio/_display.py +++ b/displayio/_display.py @@ -212,7 +212,7 @@ class Display: # 100Hz looks decent and doesn't keep the CPU too busy self._backlight = PWMOut(backlight_pin, frequency=100, duty_cycle=0) self._backlight_type = BACKLIGHT_PWM - except ImportError: + except (ImportError, NotImplementedError): # PWMOut not implemented on this platform pass if self._backlight_type is None: @@ -245,13 +245,12 @@ class Display: def show(self, group: Group) -> None: """ .. note:: `show()` is deprecated and will be removed when CircuitPython 9.0.0 - is released. Use ``.root_group = group`` instead. + is released. Use ``.root_group = group`` instead. Switches to displaying the given group of layers. When group is None, the default CircuitPython terminal will be shown. :param Group group: The group to show. - """ if group is None: group = circuitpython_splash