Update network.py for Issue #7
Code prints the status_neopixel to stdout when it should only, perhaps, do that on debug. Fixes #7
This commit is contained in:
parent
9175c448f6
commit
153b177a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class Network(NetworkBase):
|
||||||
image_position=None,
|
image_position=None,
|
||||||
image_dim_json_path=None,
|
image_dim_json_path=None,
|
||||||
):
|
):
|
||||||
print(f"status_neopixel", status_neopixel)
|
# print(f"status_neopixel", status_neopixel)
|
||||||
if isinstance(status_neopixel, microcontroller.Pin):
|
if isinstance(status_neopixel, microcontroller.Pin):
|
||||||
status_led = neopixel.NeoPixel(status_neopixel, 1, brightness=0.2)
|
status_led = neopixel.NeoPixel(status_neopixel, 1, brightness=0.2)
|
||||||
elif isinstance(status_neopixel, neopixel.NeoPixel):
|
elif isinstance(status_neopixel, neopixel.NeoPixel):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue