来自Hackster.io的一副有趣祝福动画。
May your holiday LEDs sparkle and shine, may all your projects come true, and your code perfectly compile. Thank you for being here, peace on earth for every living thing, an
今天检查了一下MicroPython的更新,发现已经加入GPIO的支持了,编译也可以通过。可惜K64F的板子不在身边,等周一的时候才能测试。有开发板的网友可以先测试一下。
import time
from machine import Pin
LED = Pin(("GPIO_1", 21), Pin.OUT)
while True:
LED.value(1)
time.slee
评论