You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to recreate a PyPortal bug today with a Metro M4 Express and a 2.8" TFT shield. I grabbed the ili9341_shield_simpletest.py example code and got this error:
code.py output: Traceback (most recent call last): File "code.py", line 17, in <module> ValueError: SCK in use
If I change from this: spi = board.SPI()
to this (including the import of busio): spi = busio.SPI(board.D13, board.D11)
the program runs correctly.
The text was updated successfully, but these errors were encountered:
I was trying to recreate a PyPortal bug today with a Metro M4 Express and a 2.8" TFT shield. I grabbed the ili9341_shield_simpletest.py example code and got this error:
code.py output: Traceback (most recent call last): File "code.py", line 17, in <module> ValueError: SCK in use
If I change from this:
spi = board.SPI()
to this (including the import of busio):
spi = busio.SPI(board.D13, board.D11)
the program runs correctly.
The text was updated successfully, but these errors were encountered: