]> Repositories - Adafruit_Blinka-hackapet.git/blob - python/testing/board/__init__.py
Moved pin_count out of board into proper place in microcontroller hierarchy
[Adafruit_Blinka-hackapet.git] / python / testing / board / __init__.py
1 """Configuration of testing fixtures depending on the board layout"""
2 import agnostic
3 import board
4 if agnostic.board == "feather_m0_express":
5     default_pin = board.D5
6     led_pin = board.D13
7 elif agnostic.board == "feather_huzzah":
8     default_pin = board.GPIO4
9     led_pin = board.GPIO2