from machine import Pin for time import sleep for i in range(5): Pin(i).value(1) sleep(1) Pin(i).value(0)