Common container for board base pin names. These will vary from board to board so don’t expect portability when using this module.
The board module varies by board. The APIs documented here may or may not be available on a specific board.
I2C() → busio.I2C¶
busio.I2Cobject for the board designated SDA and SCL pins. It is a singleton.
SPI() → busio.SPI¶
busio.SPIobject for the board designated SCK, MOSI and MISO pins. It is a singleton.
UART() → busio.UART¶
busio.UARTobject for the board designated TX and RX pins. It is a singleton.
The object created uses the default parameter values for
busio.UART. If you need to set parameters that are not changeable after creation, such as
receiver_buffer_size, do not use
board.UART(); instead create a
busio.UARTobject explicitly with the desired parameters.