Skip to content

Commit 08c294a

Browse files
Neradocdhalbert
andauthored
Fix documentation of STEMMA_I2C
Co-authored-by: Dan Halbert <[email protected]>
1 parent 4da4811 commit 08c294a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

shared-bindings/board/__init__.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ mp_obj_t board_i2c(void) {
7373
MP_DEFINE_CONST_FUN_OBJ_0(board_i2c_obj, board_i2c);
7474

7575

76-
//| def SECOND_I2C() -> busio.I2C:
77-
//| """Returns the `busio.I2C` object for the secondary I2C pins, usually the STEMMA[QT] connector. It is a singleton."""
76+
//| def STEMMA_I2C() -> busio.I2C:
77+
//| """Returns the `busio.I2C` object for the STEMMA or STEMMA QT connector.
78+
//| Present only if the STEMMA connector provides a second, additional I2C bus that is not the same as `board.I2C()`.
79+
//| It is a singleton."""
7880
//| ...
7981
//|
8082

0 commit comments

Comments
 (0)