diff options
author | robert-hh <robert@hammelrath.com> | 2025-02-07 21:40:09 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-03-03 10:49:43 +1100 |
commit | 213f1c1ee07016c1a4d21cc3b1ea4ea85ba33c98 (patch) | |
tree | 43ce034ad6071a8e7ddbc531af59adf986318b7a /py/modmicropython.c | |
parent | eb45d97898abd9aae93d0c953634cabb5ea327e3 (diff) | |
download | micropython-213f1c1ee07016c1a4d21cc3b1ea4ea85ba33c98.tar.gz micropython-213f1c1ee07016c1a4d21cc3b1ea4ea85ba33c98.zip |
samd/machine_i2c: Support default instance and SCL/SDA pin values.
If a board configures a default I2C instance and/or SCL/SDA pins, then
these no longer need to be given in the constructor. This allows the user
to easily construct the default I2C instance via `machine.I2C()` and that
will work on the default pins as designated on the board silkscreen.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'py/modmicropython.c')
0 files changed, 0 insertions, 0 deletions