×

Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

Member #452567

Member Since: July 8, 2013

Country: United States

  • I just got this working with an Atmega324 - will post some code soon.

    One annoyance - you can only read one register at a time. If you try:

    i2cstart

    i2csendaddress //write address

    i2csendbyte //0x40, for instance

    i2cstart

    i2csendaddress //read address

    i2creadack // get byte 0x40

    i2creadnack //get byte 0x41

    i2cstop

    You will only get the first byte. The datasheet does only give an example for a single byte read, but it means that you can't read out all the colour intensity registers in one go. Still, pretty nifty little chip!

No public wish lists :(