Files
micropython/ports
Malcolm McKellips bb4ec886f8 rp2/machine_i2c: Make I2C bus ID arg optional with default.
This commit gives the option to not pass an I2C Bus ID when creating a
machine I2C object.  If the ID is not provided, the default bus ID (which
is `PICO_DEFAULT_I2C`) is used.

This allows users to simply declare an I2C object with `machine.I2C()`
without passing any arguments, thus creating an object with the default I2C
ID, SCL, and SDA.

Signed-off-by: Malcolm McKellips <malcolm.mckellips@sparkfun.com>
2025-02-28 15:17:34 +11:00
..
2024-03-07 16:25:17 +11:00
2025-02-25 16:11:33 +11:00
2025-02-25 16:11:33 +11:00
2025-02-25 13:02:49 +01:00
2025-02-25 16:11:33 +11:00
2025-02-03 15:02:02 +11:00
2025-02-25 16:11:33 +11:00