]> Repositories - Adafruit_Blinka-hackapet.git/blob - python/testing/board/__init__.py
47fb847894750cacada91f6d64aaf72f2d807553
[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     pin_count = 38
8 elif agnostic.board == "feather_huzzah":
9     default_pin = board.GPIO4
10     led_pin = board.GPIO2
11     pin_count = 10