File tree Expand file tree Collapse file tree 3 files changed +7
-110
lines changed Expand file tree Collapse file tree 3 files changed +7
-110
lines changed Original file line number Diff line number Diff line change 2727
2828"""
2929
30+ import neopixel
3031from adafruit_portalbase .network import NetworkBase
31- from adafruit_magtag . wifi_module import WiFi
32+ from adafruit_portalbase . wifi_esp32s2 import WiFi
3233
3334__version__ = "0.0.0-auto.0"
3435__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MagTag.git"
@@ -53,8 +54,12 @@ def __init__(
5354 extract_values = True ,
5455 debug = False ,
5556 ):
57+ if status_neopixel :
58+ status_led = neopixel .NeoPixel (status_neopixel , 1 , brightness = 0.2 )
59+ else :
60+ status_led = None
5661 super ().__init__ (
57- WiFi (status_neopixel = status_neopixel ),
62+ WiFi (status_led = status_led ),
5863 extract_values = extract_values ,
5964 debug = debug ,
6065 )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99.. automodule :: adafruit_magtag.network
1010 :members:
1111
12- .. automodule :: adafruit_magtag.wifi_module
13- :members:
14-
1512.. automodule :: adafruit_magtag.peripherals
1613 :members:
You can’t perform that action at this time.
0 commit comments