kopia lustrzana https://github.com/micropython/micropython
64180f0742
Hardware I2C implementations must provide a .init() protocol method if they want to support reconfiguration. Otherwise the default is that i2c.init() raises an OSError (currently the case for all ports). mp_machine_soft_i2c_locals_dict is renamed to mp_machine_i2c_locals_dict to match the generic SPI bindings. Fixes issue #6623 (where calling .init() on a HW I2C would crash). Signed-off-by: Damien George <damien@micropython.org> |
||
---|---|---|
.. | ||
adc.c | ||
adc.h | ||
i2c.c | ||
i2c.h | ||
modmachine.c | ||
modmachine.h | ||
pin.c | ||
pin.h | ||
pwm.c | ||
pwm.h | ||
rtcounter.c | ||
rtcounter.h | ||
spi.c | ||
spi.h | ||
temp.c | ||
temp.h | ||
timer.c | ||
timer.h | ||
uart.c | ||
uart.h |