The wire lib configure analog pins 4 and 5 to be used with the I2C two wire serial interface. However the Arduino MEGA has SDA and SCL pins for this.
Will the wire lib configure the proper pins or will it still be pin 4 and 5? Is there a I2C lib for the MEGA?
Does anyone have any info on useing I2C with the Arduino MEGA?
system
3
I have used the wire library to communicate with an I2C device on the Mega, without modification.
kg4wsv
4
The wire library (i.e. the software) works as-is, but you must use the correct pins; the MEGA's I2C is not pin-compatible with the standard arduino.
-j
Right, That answers my question then
THANKS