print("\nThis project for built-in LED blinking")
print("Date 28/10//2024")
print("by jd\n")
#Import libraries/modules
from machine import Pin
from utime import sleep
#Pin Declaration
Blue_LED=Pin(2,Pin.OUT) #Pin(No.Pin, Pin.OUT/IN)
#Parameter Declaration
blink_counter = 0
#Main Program
while True:
Blue_LED.on()
sleep(1)
Blue_LED.off()
sleep(2)
blink_counter = blink_counter +1
print("The LED hads blinked for",blink_counter, "times")