Files
board-mate/esp32-wifi/main.py
2025-12-21 12:53:28 +01:00

17 lines
262 B
Python

from wifi import Wifi
from led import LED
try:
LED_PIN = 2
SSID = "Proximus-Home-AA68_EXT"
PASSWORD = "wcsp565un2bbw"
led = LED(LED_PIN)
led.off()
wifi = Wifi(SSID, PASSWORD)
wifi.connect()
led.on()
except Exception as e:
print("Unable to start", e)