wemos_D1_LED/blink.py
def start(times=5):
    """
    Blinks LED on Wemos D1 boards
    Pin: 14
    """
    print('Blinking LED on Pin 14 (please press "CTRL + C" to stop)')
    
    for c in range(times):
        led_pin.on()
        time.sleep(1)
        led_pin.off()
        time.sleep(1)
    
    print('Blinked {} times'.format(times))

    Blinks LED on Wemos D1 boards
    Pin: 14
    
Blinks LED on Wemos D1 boards
Pin: 14
Blinks LED on Wemos D1 boards Pin : 14
def start(times=5):
    print('Blinking LED on Pin 14 (please press "CTRL + C" to stop)')
    for c in range(times):
        led_pin.on()
        time.sleep(1)
        led_pin.off()
        time.sleep(1)
    print('Blinked {} times'.format(times))
def start ( times = 5 ) : print ( 'Blinking LED on Pin 14 (please press "CTRL + C" to stop)' ) for c in range ( times ) : led_pin . on ( ) time . sleep ( 1 ) led_pin . off ( ) time . sleep ( 1 ) print ( 'Blinked {} times' . format ( times ) )
Blinks LED on Wemos D1 boards
Pin: 14
Blinks LED on Wemos D1 boards Pin : 14
"""
    Blinks LED on Wemos D1 boards
    Pin: 14
    """
times