print("Hello, ESP32!")
#Class: 2A(21)
#Date: 27/3/2026
#Ass: 13 T1
import time
from machine import Pin
Red = Pin(12, Pin.OUT)
SW = Pin(13, Pin.IN, Pin.PULL_UP)
while True: # TAB(indent)
if (SW.value() == 0):
Red.on()
time.sleep(0.1)
else:
Red.off()