from machine import Pin
import utime
# create an output pin on pin #0
LED1 = Pin(0, Pin.OUT)
print("Hello, ESP32!")
while True:
# set the value low then high
LED1.value(0)
utime.sleep_ms(500)
LED1.value(1)
utime.sleep_ms(500)
from machine import Pin
import utime
# create an output pin on pin #0
LED1 = Pin(0, Pin.OUT)
print("Hello, ESP32!")
while True:
# set the value low then high
LED1.value(0)
utime.sleep_ms(500)
LED1.value(1)
utime.sleep_ms(500)