import time
from machine import Pin
print("Hello, ESP32!")
led = Pin(2, Pin.OUT)
counter = 0
while True:
led.on()
time.sleep(0.5)
led.off()
time.sleep(0.5)
counter += 1
print("Blink", counter)
import time
from machine import Pin
print("Hello, ESP32!")
led = Pin(2, Pin.OUT)
counter = 0
while True:
led.on()
time.sleep(0.5)
led.off()
time.sleep(0.5)
counter += 1
print("Blink", counter)