Skip to content

Commit 8c38e82

Browse files
committed
Replace depreciated .show() & displayio changes
1 parent 1bae65c commit 8c38e82

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

examples/ssd1675_2.13_monochrome.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import board
1313
import displayio
1414
import adafruit_ssd1675
15+
1516
# Starting in CircuitPython 9.x fourwire will be a seperate internal library
1617
# rather than a component of the displayio library
1718
try:
@@ -20,7 +21,6 @@
2021
from displayio import FourWire
2122

2223

23-
2424
displayio.release_displays()
2525

2626
# This pinout works on a Feather M4 and may need to be altered for other boards.
@@ -52,7 +52,7 @@
5252
g.append(t)
5353

5454
display.root_group = g
55-
55+
5656
display.refresh()
5757

5858
print("refreshed")

examples/ssd1675_four_corners.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import displayio
1616
import terminalio
1717
import adafruit_ssd1675
18+
1819
# Starting in CircuitPython 9.x fourwire will be a seperate internal library
1920
# rather than a component of the displayio library
2021
try:

examples/ssd1675_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import board
1313
import displayio
1414
import adafruit_ssd1675
15+
1516
# Starting in CircuitPython 9.x fourwire will be a seperate internal library
1617
# rather than a component of the displayio library
1718
try:

0 commit comments

Comments
 (0)