You are reading a single comment by @MaBe and its replies. Click here to read the full conversation.
  • got one :-)

    3f is the GIPO extender and 7f is the eeprom.

    pi@rpi001 ~ $ i2cdetect -a -y 1
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3f 
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 7f 
    

    to change the address ground the Ax ports.
    A0 to ground will change the address to 3e and 7e

    Seems like a simple I2C2.writeTo(addr, my8databits) would set the outputs, I2C2.readFrom(addr,1) would read them.

    can confirm that, tried with i2cset and i2cget.

    next step do some i2c test in espruino.

About

Avatar for MaBe @MaBe started