print("Hello, ESP32!")
from machine import Pin
import time
led = Pin(2,Pin.OUT)
while True:
led.value(1)
print("LED ON")
time.sleep(1)
led.value(0)
print("LED OFF")
time.sleep(1)print("Hello, ESP32!")
from machine import Pin
import time
led = Pin(2,Pin.OUT)
while True:
led.value(1)
print("LED ON")
time.sleep(1)
led.value(0)
print("LED OFF")
time.sleep(1)