We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 617bb07 commit 842bc14Copy full SHA for 842bc14
adafruit_crickit.py
@@ -378,5 +378,5 @@ def reset(self):
378
"""A singleton instance to control a single Crickit board, controlled by the default I2C pins."""
379
380
# Sphinx's board is missing real pins so skip the constructor in that case.
381
-if "SCL" in dir(board):
382
- crickit = Crickit(Seesaw(busio.I2C(board.SCL, board.SDA))) # pylint: disable=invalid-name
+if "I2C" in dir(board):
+ crickit = Crickit(Seesaw(board.I2C())) # pylint: disable=invalid-name
0 commit comments