python开发nodemcu代码整理
2017-01-10 本文已影响121人
旅行家John
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)