We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c20d0d6 commit 6ae0de4Copy full SHA for 6ae0de4
1 file changed
PyPortal_Azure_Plant_Monitor/code.py
@@ -38,6 +38,8 @@
38
esp32_reset = DigitalInOut(board.ESP_RESET)
39
spi = busio.SPI(board.SCK, board.MOSI, board.MISO)
40
esp = adafruit_esp32spi.ESP_SPIcontrol(spi, esp32_cs, esp32_ready, esp32_reset)
41
+
42
+# Set up the WiFi manager with a status light to show the WiFi connection status
43
status_light = neopixel.NeoPixel(board.NEOPIXEL, 1, brightness=0.2)
44
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(esp, secrets, status_light)
45
wifi.connect()
0 commit comments