Skip to content

Commit 9b8973e

Browse files
authored
Merge pull request #28 from FoamyGuy/displayio_api_updates
displayio api update
2 parents 00f211b + 6a466c1 commit 9b8973e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Usage Example
6161
6262
import board
6363
import displayio
64+
import fourwire
6465
import adafruit_ssd1327
6566
import busio
6667
import time
@@ -73,7 +74,7 @@ Usage Example
7374
tft_dc = board.D9
7475
tft_reset = board.D5
7576
76-
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset, baudrate=1000000)
77+
display_bus = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset, baudrate=1000000)
7778
time.sleep(1)
7879
display = adafruit_ssd1327.SSD1327(display_bus, width=128, height=128)
7980

0 commit comments

Comments
 (0)