I2C SCL pin
R2026bSerial clock pin number
Since R2023a
Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / I2C properties
Description
Set the serial clock pin number of the Arduino® board to which the I2C peripheral device is connected. This table lists the Arduino boards that support configuring the SCL pins for I2C modules 0 and 1.
Settings
| Supported Arduino Boards | I2C Module 0 | I2C Module 1 |
|---|---|---|
| 22 (default), 0-5, 12-19, 21, 23, 25-27, 32-36, 39 | NA |
| 5 (default), 1, 9, 13, 17, 21 | 27 (default), 3, 7, 11, 15, 19 |
For every I2C module, you can individually configure the bus speed, SDA and SCL pins. However, not all Arduino boards support configuring I2C module 0 and module 1. This table lists the I2C modules supported by different Arduino boards.
| Arduino Boards | Supported I2C Modules |
|---|---|
| I2C0, I2C1 |
| I2C0 |
Programmatic Use
| No programmatic use is available. |
Version History
Introduced in R2023a