大家好
开发板已经到好几天了,今天来发个开箱贴。
首先感谢论坛平台和德捷提供支持,让我等开发者能体验各类新款开发板。
先来个外包装图片
开包装后,大概长这样,防撞措施还是挺到位的。避免了运输过程中器件的损坏。
包装拆开后大概长这样
具体操作流程可以按照下面****进行
https://learn.adafruit.com/esp32-s3-reverse-tft-feather/install-circuitpython
下载后打开页面如下
历程源码链接如下
在代码调试时发现成语运行不正常,板载LED灯未按预期效果跟随按键状态同步点亮熄灭。
经过本人测试需将D2改成D0
下面贴出源码
# SPDX-License-Identifier: MIT """CircuitPython Essentials Digital In Out example""" import time import board from digitalio import DigitalInOut, Direction, Pull # LED setup. led = DigitalInOut(board.LED) # For QT Py M0. QT Py M0 does not have a D13 LED, so you can connect an external LED instead. # led = DigitalInOut(board.SCK) led.direction = Direction.OUTPUT # For Gemma M0, Trinket M0, Metro M0 Express, ItsyBitsy M0 Express, Itsy M4 Express, QT Py M0 switch = DigitalInOut(board.D0) # switch = DigitalInOut(board.D5) # For Feather M0 Express, Feather M4 Express # switch = DigitalInOut(board.D7) # For Circuit Playground Express switch.direction = Direction.INPUT switch.pull = Pull.UP while True: # We could also do "led.value = not switch.value"! if switch.value: led.value = False else: led.value = True time.sleep(0.01) # debounce delay
以上就是例程代码
switch = DigitalInOut(board.D0)
注意这行就行
接下来就可以愉快玩耍了。