Using Amicus18 and I2C


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default Re: Using Amicus18 and I2C

    Typically, datasheets will specify the device's "Slave Address" as a 7-bit number.
    In the case of the MPR121, the datasheet says 5A (with the ADDR pin tied to ground).

    In order to use that address in the control byte of the I2C commands, you have to shift it left 1-bit to make room for the Read/Write bit.

    So the control byte should be ... $B4.
    DT

  2. #2
    Join Date
    Feb 2012
    Location
    South Carolina, USA
    Posts
    18

    Default Re: Using Amicus18 and I2C

    Thanks Darrel, I changed $5A to $B4 and it works great.

    John

Similar Threads

  1. Replies: 62
    Last Post: - 5th May 2014, 19:22
  2. Amicus18/Arduino/Whatever voltages
    By dhouston in forum PBP & Amicus18
    Replies: 3
    Last Post: - 6th June 2011, 13:14
  3. Another Amicus18-Ethernet approach
    By dhouston in forum PBP & Amicus18
    Replies: 10
    Last Post: - 27th May 2011, 12:36
  4. Amicus18 Companion Shield Manual code
    By mackrackit in forum PBP & Amicus18
    Replies: 0
    Last Post: - 14th May 2011, 06:39
  5. News - farnell Stock Amicus18
    By lester in forum General
    Replies: 1
    Last Post: - 7th July 2010, 12:37

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts