receiving i2c commands

Hi There,

I'm relatively new to i2c, but this is what I want to try and do:

I've got a little controller that I can program to send i2c commands. What I want to do is to connect my arduino board to the controller and receive those i2c commands. How would I connect it to my arduino? I've got three pins for i2c communication SCL_5v and SDA_5v and GND. If I can get it connected are there easy commands to read this i2c input ? Any help would be greatly appreciated and I'll make everything I get to work freely available on the net :slight_smile:

Thanks,
tom

Check out the Wire library linked to from the library reference page: Libraries - Arduino Reference

thanks for the info. thats exactly what I was looking for. :slight_smile: