From c6dc5ad7ec66cc1286cbc213cc4c40452d54a88e Mon Sep 17 00:00:00 2001 From: James Carr Date: Wed, 28 Jul 2021 14:59:45 +0100 Subject: [PATCH] Remove max_size usage with displayio.Group --- I_Voted_Pin/code.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/I_Voted_Pin/code.py b/I_Voted_Pin/code.py index c5d7b848e..ecd55acb1 100755 --- a/I_Voted_Pin/code.py +++ b/I_Voted_Pin/code.py @@ -32,7 +32,7 @@ i2c = board.I2C() display_bus = displayio.I2CDisplay(i2c, device_address=0x3C) display = adafruit_displayio_ssd1306.SSD1306(display_bus, width=128, height=32) -group = displayio.Group(max_size=1) +group = displayio.Group() display.show(group) # Add content to group @@ -59,4 +59,3 @@ text_area.x = 18 display.show(group) - \ No newline at end of file