From bd3c62df1605295a3ce3fb9858e91b1e2d12881e Mon Sep 17 00:00:00 2001 From: Paul Cutler Date: Fri, 3 Nov 2023 06:12:44 -0500 Subject: [PATCH] Update with root_group for CP 9 compatibility --- examples/ssd1327_gamma.py | 2 +- examples/ssd1327_simpletest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ssd1327_gamma.py b/examples/ssd1327_gamma.py index 8dcf889..c39038a 100644 --- a/examples/ssd1327_gamma.py +++ b/examples/ssd1327_gamma.py @@ -46,6 +46,6 @@ g.append(t) -display.show(g) +display.root_group = g time.sleep(10) diff --git a/examples/ssd1327_simpletest.py b/examples/ssd1327_simpletest.py index 433f609..81344ce 100644 --- a/examples/ssd1327_simpletest.py +++ b/examples/ssd1327_simpletest.py @@ -31,7 +31,7 @@ # Make the display context splash = displayio.Group() -display.show(splash) +display.root_group = splash # Draw a background rectangle, but not the full display size color_bitmap = displayio.Bitmap(