1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
 
   3 # SPDX-License-Identifier: MIT
 
   4 from adafruit_blinka import agnostic
 
   6 if agnostic.board in ("feather_m0_express", "feather_huzzah"):
 
   7     from bitbangio import I2C
 
   8 elif agnostic.board == "pyboard":
 
  11     raise NotImplementedError("Board not supported")