File tree Expand file tree Collapse file tree 3 files changed +9
-122
lines changed Expand file tree Collapse file tree 3 files changed +9
-122
lines changed Original file line number Diff line number Diff line change 27
27
"""
28
28
29
29
import gc
30
+ import neopixel
30
31
from adafruit_portalbase .network import NetworkBase
31
- from adafruit_matrixportal . wifi import WiFi
32
+ from adafruit_portalbase . wifi_coprocessor import WiFi
32
33
33
34
__version__ = "0.0.0-auto.0"
34
35
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MatrixPortal.git"
@@ -55,6 +56,13 @@ def __init__(self, **kwargs):
55
56
extract_values = kwargs .pop ("extract_values" )
56
57
if "debug" in kwargs :
57
58
debug = kwargs .pop ("debug" )
59
+
60
+ if "status_neopixel" in kwargs :
61
+ status_neopixel = kwargs .pop ("status_neopixel" )
62
+ status_led = neopixel .NeoPixel (status_neopixel , 1 , brightness = 0.2 )
63
+ else :
64
+ status_led = None
65
+ kwargs ["status_led" ] = status_led
58
66
wifi = WiFi (** kwargs )
59
67
60
68
super ().__init__ (
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
11
12
12
.. automodule :: adafruit_matrixportal.network
13
13
:members:
14
-
15
- .. automodule :: adafruit_matrixportal.wifi
16
- :members:
You can’t perform that action at this time.
0 commit comments