Skip to content

Commit 7496891

Browse files
authored
need a secrets dict for esp32spi_wifimanager
1 parent 7e8150b commit 7496891

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • PyPortal/PyPortal_LIFX_Controller

PyPortal/PyPortal_LIFX_Controller/code.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
# import lifx library
2727
import adafruit_lifx
2828

29+
secrets = {
30+
"ssid" : os.getenv("CIRCUITPY_WIFI_SSID"),
31+
"password" : os.getenv("CIRCUITPY_WIFI_PASSWORD"),
32+
}
33+
2934
# ESP32 SPI
3035
esp32_cs = DigitalInOut(board.ESP_CS)
3136
esp32_ready = DigitalInOut(board.ESP_BUSY)

0 commit comments

Comments
 (0)