Other Parts Discussed in Thread: LM73
HI!
I need an example for reading and writing to the I2C using the I2C.h library.
I guess I'm supposed to put the address here (not sure what the I2C_Params do):
I2C_open(0xF42A5, 0);
And this is the actual communication?:
I2C_transfer(I2C_Handle handle, I2C_Transaction *transaction); // transferFxn?
Closing I2C with this?:
I2C_close(0xF42A5); // closeFxn
Can anyone write an example for writing and reading a byte from a I2C registry?
Thanks in advance