Skip to content

Commit d6f9d0d

Browse files
committed
Commenting out one of the busses since only one is used
1 parent 86d3cb9 commit d6f9d0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/ssd1306_pillow_demo.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
oled = adafruit_ssd1306.SSD1306_I2C(WIDTH, HEIGHT, i2c, addr=0x3c, reset=oled_reset)
2323

2424
# Use for SPI
25-
spi = board.SPI()
26-
oled_cs = digitalio.DigitalInOut(board.D5)
27-
oled_dc = digitalio.DigitalInOut(board.D6)
28-
oled = adafruit_ssd1306.SSD1306_SPI(WIDTH, HEIGHT, spi, oled_dc, oled_reset, oled_cs)
25+
#spi = board.SPI()
26+
#oled_cs = digitalio.DigitalInOut(board.D5)
27+
#oled_dc = digitalio.DigitalInOut(board.D6)
28+
#oled = adafruit_ssd1306.SSD1306_SPI(WIDTH, HEIGHT, spi, oled_dc, oled_reset, oled_cs)
2929

3030
# Clear display.
3131
oled.fill(0)

0 commit comments

Comments
 (0)