]> Repositories - Adafruit_Blinka-hackapet.git/blob - python/testing/board/__init__.py
7852ea6419a71afc56e4eb9c963694bfb766a227
[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