Hi all I’m trying to interface with a GE chipcap2 temperature/humidity sensor over i2c.
I’m pretty sure my hardware is correct. I have 2.4k pull up resistors on both SCL and SDA. I also put a oscilloscope to it and can see the clock and data.
My device code:
local addr = 0x28 << 1;
local data = hardware.i2c12.read(addr, “\x00”, 2);
error comes back as -2 and data as (null : 0x0).
Could someone point me in the right direction? Also could anyone explain what ‘Timeout while selecting transmit mode’ means.
Thanks ahead of time!