I2C Interface help

Hello All,

Forgive me if this is a stupid question :-/ but I'm clueless so please be gentle. :slight_smile:

I'm interfacing a chip MPR121 that has SLC SDA and IRQ pins

I learned that I2C is the communication protocol to use (wire library).

SLC and SDA of MPR121 will goto A5 and A4 of the Arduino.

So the question is: How about the INT pin?

  • Can I just put it in any digital pin?
  • if so I will just detect it in the main loop if it changed?
  • Is there any other method where a function will be executed when this INT triggers?

Thanks in advance! :wink:

hi!

here u can react on interrupts:
http://arduino.cc/en/Reference/AttachInterrupt

have u found this?
http://www.arduino.cc/playground/Learning/I2C

bye
arne

Hi Arne,

Thanks a bunch!
;D