I have written a code that transmits data over the I2C channel, The device ID and every other stuff is working fine. The only issue being that my code gets stuck at Wire.endTrasnmission().
I found the issue using Serial debug messages.
When i disconnect the SCL line (A5 on arduino Pro Mini), the hang disappears and the code starts to function again.
A search brought me to this forum http://forum.arduino.cc/index.php?topic=66353.0
where a guy talks about the code snippet
is this possible, if yes where do i place it?
Observation: The hang goes away if i disconnect the SCL line on either of the arduinos communicating, the sam edoes not happen if i disconnect the SDA.