From bfb68396c772cb756b89d0b7db91d2faef72e8f5 Mon Sep 17 00:00:00 2001 From: Cefn Hoile Date: Mon, 19 Feb 2018 14:05:08 +0000 Subject: [PATCH] led_hardwired flag to skip interactive questioning about wiring LEDs --- python/testing/board/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/testing/board/__init__.py b/python/testing/board/__init__.py index 7852ea6..d05c222 100644 --- a/python/testing/board/__init__.py +++ b/python/testing/board/__init__.py @@ -4,6 +4,11 @@ import board if agnostic.board == "feather_m0_express": default_pin = board.D5 led_pin = board.D13 + led_hardwired = True elif agnostic.board == "feather_huzzah": default_pin = board.GPIO4 led_pin = board.GPIO2 + led_hardwired = True + pull_down_support = False +elif agnostic.board == "pyboard": + raise NotImplementedError -- 2.49.0