You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ameba-rtos-m): accept string pin names in machine.I2CTarget(scl=, sda=)
I2CTarget(scl=, sda=) only accepted integer PinName, unlike every other
pin-accepting constructor in this port.
Add the same string-pin-parsing helper machine_spi.c/machine_i2c.c
already use.
Verified on both boards: string and integer pins both work; an invalid
string raises ValueError instead of crashing.
0 commit comments