X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/6eb178d1ac69b29a1a5f2081515a0ac4c0e62684..refs/heads/micropython-pyi:/test/src/testing/board/__init__.py diff --git a/test/src/testing/board/__init__.py b/test/src/testing/board/__init__.py index 03f6f31..10dc6a8 100644 --- a/test/src/testing/board/__init__.py +++ b/test/src/testing/board/__init__.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries +# +# SPDX-License-Identifier: MIT """Configuration of testing fixtures depending on the board layout""" from adafruit_blinka import agnostic @@ -10,7 +13,7 @@ if agnostic.board == "feather_m0_express": led_inverted = False elif agnostic.board == "feather_huzzah": default_pin = board.GPIO4 - led_pin = board.GPIO0 # red led + led_pin = board.GPIO0 # red led led_hardwired = True led_inverted = True elif agnostic.board == "pyboard": @@ -21,4 +24,4 @@ elif agnostic.board == "pyboard": uartTxId = "B6" uartRXId = "B7" else: - raise NotImplementedError("Board not supported") \ No newline at end of file + raise NotImplementedError("Board not supported")