From 31368b751ca8d287784f78a1cc05c0d41347f76e Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Fri, 20 Aug 2021 11:40:55 +0100 Subject: [PATCH] setup_examples/ssd1351_esp32: Fix fail to import Pin, SPI. --- setup_examples/ssd1351_esp32.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_examples/ssd1351_esp32.py b/setup_examples/ssd1351_esp32.py index c2ceae7..23f318a 100644 --- a/setup_examples/ssd1351_esp32.py +++ b/setup_examples/ssd1351_esp32.py @@ -22,7 +22,7 @@ # IO14 CLK (2 CL SCK) Hardware SPI1 # IO13 DATA (1 SI MOSI) -import machine +from machine import Pin, SPI import gc # *** Choose your color display driver here ***