uPyCraft IDE介绍
#===================================================
# leds 0 = d3 , 1 = d10 , 2 = d4 , 3 = d9 , 4 = d2 , 5 = d1
# 9 = sdd2 , 10 = sdd3
# 12 = d6 , 13 = d7 , 14 = d5 , 15 = d8 , 16 = d0
#===================================================
import time
from machine import Pin
led6 =Pin(12,Pin.OUT)
while True:
led.value(1)
time.sleep(0.5)
led.value(0)
time.sleep(0.5)
沒有留言:
張貼留言