This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import board | |
import busio | |
import time | |
import digitalio | |
IKB_1_ADDR = 0x48 | |
IKB_1_ADDR_2 = 0x49 | |
# Detect board type and set I2C pins accordingly | |
i2c1 = busio.I2C(board.GP1, board.GP0) |
OlderNewer