X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/09889f5e46420240ade4451f7af6f54814f8cfcd..6776bc60e1de38034ece8570028db4317a40f54b:/displayio/_ondiskbitmap.py diff --git a/displayio/_ondiskbitmap.py b/displayio/_ondiskbitmap.py index 67c7e08..654a312 100644 --- a/displayio/_ondiskbitmap.py +++ b/displayio/_ondiskbitmap.py @@ -35,9 +35,6 @@ class OnDiskBitmap: load times. These load times may result in frame tearing where only part of the image is visible. - It's easiest to use on a board with a built in display such as the `Hallowing M0 Express - `_. - .. code-block:: Python import board @@ -48,7 +45,7 @@ class OnDiskBitmap: board.DISPLAY.auto_brightness = False board.DISPLAY.brightness = 0 splash = displayio.Group() - board.DISPLAY.show(splash) + board.DISPLAY.root_group = splash odb = displayio.OnDiskBitmap(\'/sample.bmp\') face = displayio.TileGrid(odb, pixel_shader=odb.pixel_shader)