启动IDE(uPyCraft) 代码如下 from machine import Pin from time import sleep led = Pin(2,Pin.OUT) while 1: led.on() sleep(0.5) led.off() sleep(0.5)