# modules
from machine import Pin
from time import sleep
# setting GPIO Pins 6
# note: any GPIO pin can be used
RedLED = Pin(6, Pin.OUT)
BlueLED = Pin(7, Pin.OUT)
# continuously blink the LEDs at the same time
# while the board has power
while True:
RedLED.on()
sleep(0.5)
RedLED.off()
sleep(0.5)
BlueLED.on()
sleep(0.5)
BlueLED.off()
sleep(0.5)