from machine import Pin import time led = Pin(26,Pin.OUT) while True: led.value(not led.value()) time.sleep(0.3)