Go Down

Topic: receiving i2c commands (Read 418 times) previous topic - next topic

tvdbon

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 :)

Thanks,
tom

mellis

Check out the Wire library linked to from the library reference page: http://www.arduino.cc/en/Reference/Libraries

tvdbon

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

Go Up