print("Let's make external LED blink")
print("Date : 21/11/2023")
print("Created by Louis")
#import librairies
from machine import Pin
from time import sleep
#Pin declaration
built_in_LED = Pin(2, Pin.OUT) #(gpio pin no, IN or OUT)
externl_LED = Pin(12, Pin.OUT)
#parameter setting
#Main programme
while True :
built_in_LED.on()
externl_LED.off()
sleep(.2)
built_in_LED.off()
externl_LED.on()
sleep(.2)