I am so new in electric imp and am trying to use the I2C on imp005 and looking at sample codes in electric imp tutorials.
Even I copy source code from tutorial to my model, it does not work well.
What is the problem with below code?
i2c <- hardware.i2c0;
When I check I2C lines using Logic Analyzer, I am seeing just address byte (0x08) on I2C SDA line. Where is the missing 0xA5 data?
If I send one more byte like i2c.write(0x08, "\xA5\xA6"), I am seeing one more byte but it says 'address 0x08' for writing, 'address 0xFF' byte for reading.