Closed rei-vilo closed 5 years ago
Hi, just pushed a version to the wire_update branch. If you would like to give it a try. Note: it uses the function prototypes from Arduino with e.g. Wire.setClock(400000); // set 400kb/s
~ Stefan
Thanks, I'll give a try and let you know!
added in wire_update branchand merged. Note: MSP430 only supports speed up to 400k
I've tested the updated I²C library on an MSP430FR4133 connected to an INA226 sensor. Everything when fine.
I haven't tested the library as I²C slave yet.
A nice addition would be to allow to choose between the different speeds or modes (links to www.i2c-bus.org website).