From 153b177a3fd7de4315b0c04912cb12d11340a87e Mon Sep 17 00:00:00 2001 From: Anne Barela <1911920+TheKitty@users.noreply.github.com> Date: Thu, 14 Aug 2025 09:39:11 -0400 Subject: [PATCH 1/3] Update network.py for Issue #7 Code prints the status_neopixel to stdout when it should only, perhaps, do that on debug. Fixes #7 --- adafruit_fruitjam/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_fruitjam/network.py b/adafruit_fruitjam/network.py index 3391297..3519383 100644 --- a/adafruit_fruitjam/network.py +++ b/adafruit_fruitjam/network.py @@ -88,7 +88,7 @@ def __init__( # noqa: PLR0913 Too many arguments in function definition image_position=None, image_dim_json_path=None, ): - print(f"status_neopixel", status_neopixel) + # print(f"status_neopixel", status_neopixel) if isinstance(status_neopixel, microcontroller.Pin): status_led = neopixel.NeoPixel(status_neopixel, 1, brightness=0.2) elif isinstance(status_neopixel, neopixel.NeoPixel): From f3e13ff5c71ab5c55f7a8236d17f526bc2503a35 Mon Sep 17 00:00:00 2001 From: Anne Barela <1911920+TheKitty@users.noreply.github.com> Date: Thu, 14 Aug 2025 11:04:54 -0400 Subject: [PATCH 2/3] Update network.py per comment Remove debug print from development --- adafruit_fruitjam/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_fruitjam/network.py b/adafruit_fruitjam/network.py index 3519383..27302d4 100644 --- a/adafruit_fruitjam/network.py +++ b/adafruit_fruitjam/network.py @@ -88,7 +88,7 @@ def __init__( # noqa: PLR0913 Too many arguments in function definition image_position=None, image_dim_json_path=None, ): - # print(f"status_neopixel", status_neopixel) + if isinstance(status_neopixel, microcontroller.Pin): status_led = neopixel.NeoPixel(status_neopixel, 1, brightness=0.2) elif isinstance(status_neopixel, neopixel.NeoPixel): From d883e687bbe060423ff8ad967ad953605cb70705 Mon Sep 17 00:00:00 2001 From: Anne Barela <1911920+TheKitty@users.noreply.github.com> Date: Thu, 14 Aug 2025 11:11:08 -0400 Subject: [PATCH 3/3] Update network.py Delete blank line --- adafruit_fruitjam/network.py | 1 - 1 file changed, 1 deletion(-) diff --git a/adafruit_fruitjam/network.py b/adafruit_fruitjam/network.py index 27302d4..8c73b98 100644 --- a/adafruit_fruitjam/network.py +++ b/adafruit_fruitjam/network.py @@ -88,7 +88,6 @@ def __init__( # noqa: PLR0913 Too many arguments in function definition image_position=None, image_dim_json_path=None, ): - if isinstance(status_neopixel, microcontroller.Pin): status_led = neopixel.NeoPixel(status_neopixel, 1, brightness=0.2) elif isinstance(status_neopixel, neopixel.NeoPixel):