Merge pull request #5416 from Neradoc/add-board-id-doc

Add board_id to the board module documentation
This commit is contained in:
microDev 2021-10-01 00:04:36 +05:30 committed by GitHub
commit a6ef2ae4aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,12 @@
//| .. warning:: The board module varies by board. The APIs documented here may or may not be
//| available on a specific board."""
//| board_id: str
//| """Board ID string. The unique identifier for the board model in
//| circuitpython, as well as on circuitpython.org.
//| Example: "hallowing_m0_express"."""
//|
//| def I2C() -> busio.I2C:
//| """Returns the `busio.I2C` object for the board designated SDA and SCL pins. It is a singleton."""
//| ...