Skip to content

Commit ca863b7

Browse files
committed
revert fourwire change
1 parent a1492b6 commit ca863b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,14 @@ Usage Example
4444
4545
import board
4646
import displayio
47-
import fourwire
4847
from adafruit_st7735 import ST7735
4948
5049
spi = board.SPI()
5150
tft_cs = board.D5
5251
tft_dc = board.D6
5352
5453
displayio.release_displays()
55-
display_bus = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=board.D9)
54+
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=board.D9)
5655
5756
display = ST7735(display_bus, width=128, height=128)
5857

examples/st7735_simpletest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import board
1010
import displayio
11-
import fourwire
1211
from adafruit_st7735 import ST7735
1312

1413
# Release any resources currently in use for the displays
@@ -18,7 +17,9 @@
1817
tft_cs = board.D5
1918
tft_dc = board.D6
2019

21-
display_bus = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=board.D9)
20+
display_bus = displayio.FourWire(
21+
spi, command=tft_dc, chip_select=tft_cs, reset=board.D9
22+
)
2223

2324
display = ST7735(display_bus, width=128, height=128)
2425

0 commit comments

Comments
 (0)