From: Cefn Hoile Date: Mon, 19 Feb 2018 14:05:08 +0000 (+0000) Subject: led_hardwired flag to skip interactive questioning about wiring LEDs X-Git-Tag: 0.1.0~4^2~83 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/bfb68396c772cb756b89d0b7db91d2faef72e8f5?ds=inline led_hardwired flag to skip interactive questioning about wiring LEDs --- 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