print("Hello, ESP32!")
#####################################
###### IMPORT LIBRARIES
from machine import Pin
from utime import sleep
#####################################
###### PIN CONFIGURATIONS
# Configure the pin as output
# Replace the x with your GPIO Pin X number here
led_pin = Pin(17, Pin.OUT)
#####################################
###### MAIN ROUTINE
def main():
while True:
# call the led subroutine here
sub_led()
#####################################
###### SUBROUTINE FOR LED
def sub_led():
led_pin.on()
sleep(0.5)
led_pin.off()
sleep(0.5)
#####################################
###### EXECUTE MAIN ROUTINE
if __name__ == '__main__':
main()