from machine import Pin
import time
ledRED = Pin(14, Pin.OUT)
ledGREEN = Pin(15, Pin.OUT)
while True :
ledRED. value(1)
ledGREEN. value(0)
print("RED LED on")
print("GREEN LED off")
print("-----------")
time.sleep(3)
ledGREEN. value(1)
ledRED. value(0)
print("GREEN LED on")
print("RED LED off")
print("-----------")
time.sleep(3)