Added esp32-wifi

This commit is contained in:
2025-12-21 12:53:28 +01:00
parent 94b83fb018
commit 86dea774e4
3 changed files with 64 additions and 0 deletions

17
esp32-wifi/main.py Normal file
View File

@@ -0,0 +1,17 @@
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)