Pages: [1]   Go Down
Author Topic: receiving i2c commands  (Read 370 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley

Thanks,
tom
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 11
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for the info. thats exactly what I was looking for.  smiley
Logged

Pages: [1]   Go Up
Jump to: