Has anyone ever seen this problem when using WIRE library? Recently I am trying MP3 player, RTC and other device with strange issue and it all points to when I use wire library the process halt right after the line "Wire.endTransmission();"
For example:
{
char len = 0;
len = strlen(cmd);
Wire.beginTransmission(0x35);
while(len--)
{
Wire.send(*(cmd++));
}
Serial.println("Still able to see this line...");
Wire.endTransmission(); // stop transmitting
Serial.println("Never gets here...");
}
Any clue??