Your request should be { 0x00 } and the response is 2 bytes. The actual
transaction will look exactly as in page 17.Why do you think this module has pull-ups? I haven't found a schematic, but it is generally a bad practice to include pull-ups with the slave. In other words, it is likely that you should have a resistor (2k-10k) from SCL to 3V3 and one from SDA to 3V3. Do you have an oscilloscope or a logic analyzer to figure out what's wrong? On Sat, May 23, 2015 at 10:51 AM, Chris <[email protected]> wrote: > I think the address is 0x48. > My request is 0x00 it's the register to get ambiant temperature. > Still not working, i'm wondering about NAK stuff, i don't know how to be > sure whether it's true or false. > By looking at the diagram page 17 of the datasheet i must put the address > in my request and expect it in my response, except if the ioio handle this > as you suggested. > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
