Skip to content

Commit ff91c39

Browse files
authored
Merge pull request #24 from FoamyGuy/fix_readme_example
update readme example reference to fourwire
2 parents 8c980a2 + 71d3d80 commit ff91c39

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
@@ -37,14 +37,15 @@ Usage Example
3737
3838
import board
3939
import displayio
40+
import fourwire
4041
from adafruit_ssd1351 import SSD1351
4142
4243
spi = board.SPI()
4344
tft_cs = board.D5
4445
tft_dc = board.D6
4546
4647
displayio.release_displays()
47-
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=board.D9)
48+
display_bus = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=board.D9)
4849
4950
display = SSD1351(display_bus, width=128, height=128)
5051

0 commit comments

Comments
 (0)