Skip to content

Commit 93545d7

Browse files
authored
Fixed docstring for neopixel
1 parent d1a3a42 commit 93545d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_esp32spi/adafruit_esp32spi_wifimanager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ class ESPSPI_WiFiManager:
3838
"""
3939
A class to help manage the Wifi connection
4040
"""
41-
def __init__(self, esp, secrets, status_pixel=None, attempts=2):
41+
def __init__(self, esp, secrets, status_pixel, attempts=2):
4242
"""
4343
:param ESP_SPIcontrol esp: The ESP object we are using
4444
:param dict secrets: The WiFi and Adafruit IO secrets dict (See examples)
45-
:param int attempts: (Optional) Failed attempts before resetting the ESP32 (default=2)
46-
:param status_pixel: (Optional) The pixel pin - Usually board.NEOPIXEL (default=None)
45+
:param status_pixel: (Optional) The pixel device - Usually a NeoPixel or DotStar (default=None)
4746
:type status_pixel: NeoPixel or DotStar
47+
:param int attempts: (Optional) Failed attempts before resetting the ESP32 (default=2)
4848
"""
4949
# Read the settings
5050
self._esp = esp

0 commit comments

Comments
 (0)