Page 1 of 1

I2C Return Value

Posted: Sun Jun 01, 2014 5:09 pm
by Hugo
Hi,

Does anyone know what kind of command return values does the MI2C_Transmit_Byte have​​ and what do they mean?
Currently I always get "1" back after each transmitted data!


Thanks in advance!

Re: I2C Return Value

Posted: Sun Jun 01, 2014 7:22 pm
by medelec35
Hi Hugo,
This is not the correct section for an I2C question.
Can you please read This post so you can have your account upgraded.
Then this thread can be moved.

Thanks.

Martin

Re: I2C Return Value

Posted: Mon Jun 02, 2014 3:49 pm
by Benj
Hello,

Please follow Martins advice before posting further questions, the free edition does not support I2C.

1 = remote device acknowledged your transmitted byte, all is good.
0 = remote device not acknowledged your transmitted byte, device may not be present on the bus or may have other issues i.e. in a busy state.