title: I2C communication in raspberry pi using python
body: <p>I want to configure I2C for raspberry pi using PYTHON or last choice C. I have worked on ATMEL micro controller, it provide I2C communication with any device. I want some similar mechanism for raspberry pi. I have following questions:<br><br>
  1. We have to define address of every device in I2C bus. If i want to send some data from ATMEL micro controller to raspberry pi (write data to raspberry pi), what will be the address of raspberry pi or how we can set the address.<br><br>
  2. Is there any interrupt or something like that if we receive some data on I2C bus?<br><br>
  3. Which library will be best for PYTHON or C?<br><br>
  4. Can i write my custom codes for implementing I2C protocol?</p>
  
  <p>Please help.... Thanks in advance..</p>