from machine import Pin from time import sleep myLED = Pin('LED', Pin.OUT) while True: myLED.toggle() sleep(0.4)