the code has been slimmed down and matches now the
structure of the other ports
tested until now with an ADS1115, SI7021 and sh1106 at 100000 and
10000 baud. All worked and returned reasonable values.
A fix for the WM_SDK is also recommended to supress and spurious
alert message.
mphalport.h: Fix for soft I2C
Enable the Soft I2C, which may use all GIO pins.
Tested with SI7021, ADS1115 and sh1106
t.b.d.: Add the primitive functions start, stop, write, readinto
to the hardware I2C variant. The basic code is present and has
only to be slightly aligned.
machine_i2c.c: Fix for hardware I2C
The fix is for the hardware I2C
mphalport.h: Fix for soft I2C
Enable the Soft I2C, which may use all GIO pins. Tested with SI7021, ADS1115 and sh1106
t.b.d.: Add the primitive functions start, stop, write, readinto to the hardware I2C variant. The basic code is present and has only to be slightly aligned.