Skip to content

Commit fd7c932

Browse files
authored
Update __init__() LED argument to describe LED behavior
1 parent 8611119 commit fd7c932

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

adafruit_esp32spi/adafruit_esp32spi_wifimanager.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ def __init__(
4343
:param ESP_SPIcontrol esp: The ESP object we are using
4444
:param dict secrets: The WiFi and Adafruit IO secrets dict (See examples)
4545
:param status_pixel: (Optional) The pixel device - A NeoPixel, DotStar,
46-
or RGB LED (default=None)
46+
or RGB LED (default=None). The status LED, if given, turns red when
47+
attempting to connect to a Wi-Fi network or create an access point,
48+
turning green upon success. Additionally, if given, it will turn blue
49+
when attempting an HTTP method or returning IP address, turning off
50+
upon success.
4751
:type status_pixel: NeoPixel, DotStar, or RGB LED
4852
:param int attempts: (Optional) Failed attempts before resetting the ESP32 (default=2)
4953
:param const connection_type: (Optional) Type of WiFi connection: NORMAL or ENTERPRISE

0 commit comments

Comments
 (0)