Skip to content
Merged
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Usage Example
epd_reset = board.D11
epd_busy = board.D12

display_bus = displayio.FourWire(
display_bus = fourwire.FourWire(
spi, command=epd_dc, chip_select=epd_cs, reset=epd_reset, baudrate=1000000
)

Expand All @@ -138,7 +138,7 @@ Usage Example
t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)
g.append(t)

display.show(g)
display.root_group = g

display.refresh()

Expand Down
6 changes: 4 additions & 2 deletions examples/spd1656_4in_acep.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
import time
import board
import displayio
import fourwire
import adafruit_spd1656


displayio.release_displays()

# This pinout works on a Feather RP2040 and may need to be altered for other boards.
Expand All @@ -22,7 +24,7 @@
epd_reset = board.D11
epd_busy = board.D12

display_bus = displayio.FourWire(
display_bus = fourwire.FourWire(
spi, command=epd_dc, chip_select=epd_cs, reset=epd_reset, baudrate=1000000
)

Expand All @@ -39,7 +41,7 @@
t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)
g.append(t)

display.show(g)
display.root_group = g

display.refresh()

Expand Down
6 changes: 4 additions & 2 deletions examples/spd1656_color_stripes.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
import board
import displayio
import bitmaptools
import fourwire
import adafruit_spd1656


displayio.release_displays()

# This pinout works on a Feather RP2040 and may need to be altered for other boards.
Expand All @@ -21,7 +23,7 @@
epd_reset = board.D11
epd_busy = board.D12

display_bus = displayio.FourWire(
display_bus = fourwire.FourWire(
spi, command=epd_dc, chip_select=epd_cs, reset=epd_reset, baudrate=1000000
)

Expand Down Expand Up @@ -56,7 +58,7 @@
tg = displayio.TileGrid(bitmap=bmp, pixel_shader=p)
g.append(tg)

display.show(g)
display.root_group = g

display.refresh()

Expand Down
6 changes: 4 additions & 2 deletions examples/spd1656_colors_and_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
import terminalio
import bitmaptools
from adafruit_display_text.bitmap_label import Label
import fourwire
import adafruit_spd1656


displayio.release_displays()

# This pinout works on a Feather RP2040 and may need to be altered for other boards.
Expand All @@ -24,7 +26,7 @@
epd_reset = board.D11
epd_busy = board.D12

display_bus = displayio.FourWire(
display_bus = fourwire.FourWire(
spi, command=epd_dc, chip_select=epd_cs, reset=epd_reset, baudrate=1000000
)

Expand Down Expand Up @@ -55,7 +57,7 @@
lbl.anchored_position = (display.width // 2, display.height // 2)
g.append(lbl)

display.show(g)
display.root_group = g
display.refresh()

while True:
Expand Down
6 changes: 4 additions & 2 deletions examples/spd1656_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
import time
import board
import displayio
import fourwire
import adafruit_spd1656


displayio.release_displays()

# This pinout works on a Feather RP2040 and may need to be altered for other boards.
Expand All @@ -21,7 +23,7 @@
epd_reset = board.D11
epd_busy = board.D12

display_bus = displayio.FourWire(
display_bus = fourwire.FourWire(
spi, command=epd_dc, chip_select=epd_cs, reset=epd_reset, baudrate=1000000
)

Expand All @@ -38,7 +40,7 @@
t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)
g.append(t)

display.show(g)
display.root_group = g

display.refresh()

Expand Down