For convenience, we can add a board.STEMMA_I2C() singleton (analogous to board.I2C()) to designate the I2C bus attached to the STEMMA connector on boards that have those conenctors. On some boards, board.I2C() and board.STEMMA_I2C() would be the same (e.g. QT Py SAMD21); on others they are different (QT Py RP2040).
We will call it STEMMA_I2C instead of STEMMA_QT_I2C because some older boards have larger (non-"QT") STEMMA connectors.
For convenience, we can add a
board.STEMMA_I2C()singleton (analogous toboard.I2C()) to designate the I2C bus attached to the STEMMA connector on boards that have those conenctors. On some boards,board.I2C()andboard.STEMMA_I2C()would be the same (e.g. QT Py SAMD21); on others they are different (QT Py RP2040).We will call it
STEMMA_I2Cinstead ofSTEMMA_QT_I2Cbecause some older boards have larger (non-"QT") STEMMA connectors.