Skip to content

Commit 09da467

Browse files
authored
Merge pull request #40 from FoamyGuy/displayio_api_update
displayio api updates
2 parents 1df47f2 + 7cdfdc6 commit 09da467

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/bitmapsaver_screenshot_tft_featherwing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import board
88
import digitalio
99
import displayio
10+
import fourwire
1011
import storage
1112
from adafruit_hx8357 import HX8357
1213

@@ -26,7 +27,7 @@
2627
# Initialize TFT Featherwing Display
2728
tft_cs = board.D9
2829
tft_dc = board.D10
29-
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs)
30+
display_bus = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs)
3031
display = HX8357(display_bus, width=DISPLAY_WIDTH, height=DISPLAY_HEIGHT)
3132

3233
if TAKE_SCREENSHOT:

0 commit comments

Comments
 (0)