Skip to content

Commit b461075

Browse files
committed
fix paint example remove i2c
1 parent 32c936f commit b461075

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/stmpe610_paint_demo.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
import adafruit_stmpe610
1010
from adafruit_rgb_display import ili9341, color565
1111

12-
# Create library object using our Bus I2C & SPI port
13-
i2c = busio.I2C(board.SCL, board.SDA)
12+
# Create library object using our Bus SPI port
1413
spi = busio.SPI(clock=board.SCK, MOSI=board.MOSI, MISO=board.MISO)
1514

1615
# Adafruit Metro M0 + 2.8" Capacitive touch shield

0 commit comments

Comments
 (0)