TypeError: can't create 'SPI' instances,TypeError: can't convert str to int #487
Replies: 1 comment 4 replies
-
|
import lcd_bus spi_bus = SPI.Bus(host=2, import st7789 display = st7789.ST7789( import task_handler # NOQA display.init() th = task_handler.TaskHandler() scrn = lv.screen_active() label = lv.label(scrn) |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I have 2 problem with the instantiations of the SPI,TypeError: can't create 'SPI' instances,TypeError: can't convert str to int
My ESP32 color screen solution:
Screen driver: ST7789 (MISO=0,MOSI=23, SCK=18, CS=5, DC=7, RST=16)
Touch driver: GT911 (SDA=21, SCL=22, RST=19)
Beta Was this translation helpful? Give feedback.
All reactions