Skip to content

Commit a13674c

Browse files
committed
Fixed some variables
1 parent 3eb10e3 commit a13674c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/ssd1325_gamma.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import time
22
import board
3-
import busio
43
import displayio
54
import adafruit_ssd1325
65

@@ -10,9 +9,9 @@
109
spi = board.SPI()
1110
oled_cs = board.D5
1211
oled_dc = board.D6
13-
tft_reset = board.D9
12+
oled_reset = board.D9
1413

15-
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset,
14+
display_bus = displayio.FourWire(spi, command=oled_dc, chip_select=oled_cs, reset=oled_reset,
1615
baudrate=1000000)
1716
time.sleep(1)
1817
display = adafruit_ssd1325.SSD1325(display_bus, width=128, height=64)

0 commit comments

Comments
 (0)