固件下载:ESP32-S3 Reverse TFT Feather Download
屏幕驱动:DisplayIO Example | Adafruit ESP32-S3 Reverse TFT Feather | Adafruit Learning System
驱动文件复制到lib目录下:
运行样例大概是这个样子:
按钮例程:
import board import digitalio import time button = digitalio.DigitalInOut(board.BUTTON) button.switch_to_input(pull=digitalio.Pull.UP) while True: print(button.value) time.sleep(0.2)
亮度传感器例程: