I2C Return Value

Moderator: Benj

Post Reply
Hugo
Posts: 2
Joined: Sun May 25, 2014 11:39 am
Contact:

I2C Return Value

Post 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!

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: I2C Return Value

Post 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
Martin

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: I2C Return Value

Post 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.

Post Reply