Skip to content

Commit a602e5f

Browse files
authored
Compatibility with CircuitPython 10.0.x (#12)
* Updated build instructions for CircuitPy 10.0.x * Fixed screen calls
1 parent 13dbaba commit a602e5f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/release-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [ published ]
66

77
env:
8-
adafruit-bundle: '20250221'
8+
adafruit-bundle: '20251105'
99

1010
jobs:
1111
package:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ be specified in a sequence.
5252
## Installing
5353

5454
First make sure that your Macropad has the
55-
[latest version of CircuitPython installed](https://circuitpython.org/board/adafruit_macropad_rp2040/).
55+
[latest version of CircuitPython 10.0 installed](https://circuitpython.org/board/adafruit_macropad_rp2040/).
5656
See [https://learn.adafruit.com/adafruit-macropad-rp2040/circuitpython](https://learn.adafruit.com/adafruit-macropad-rp2040/circuitpython)
5757
for instructions on how to update the Macropad to have the latest version of
5858
CircuitPython.

display.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def initialize(self):
3232
anchor_point=(0.5, 0.0)
3333
)
3434
)
35-
self.display.show(self.group)
35+
self.display.root_group = self.group
3636

3737
def sleep(self):
3838
self.display.brightness = 0
@@ -41,7 +41,7 @@ def sleep(self):
4141

4242
def resume(self):
4343
self.display.brightness = 1
44-
self.display.show(self.group)
44+
self.display.root_group = self.group
4545
self.display.refresh()
4646

4747
def setApp(self, app):

0 commit comments

Comments
 (0)