import time
from machine import Pin
pLed = Pin(16, Pin.OUT)
for i in range(1,10):
pLed.high()
time.sleep(1)
pLed.low()
time.sleep(1)
import time
from machine import Pin
pLed = Pin(16, Pin.OUT)
for i in range(1,10):
pLed.high()
time.sleep(1)
pLed.low()
time.sleep(1)
本文标题:python开发nodemcu代码整理
本文链接:https://www.haomeiwen.com/subject/redkbttx.html
网友评论