I have a compass from Parallax HMC6352 which I did'nt get to respond so this weekend I borrowed an oscilloscope from my job to see the timing. I am using the Arduino 2560 board.
The Parallax board has already 10k pullup and the pullup works just fine. Right now I have just connected the SCA and SCL to an external pullup of 2k to debug with my oscilloscope.
Immediately when I send the first command the SDA and SCL goes low and stays low ??? I would expect the clock and address to toggle sending out the info ...at least trying to connect. No matter if there is a I2C slave or not that cound hear what the master is sending.
After the Wire.begin(); in my setup I just call
Serial.println("DEBUG: START OF GetCompass1direction rountine"); Wire.beginTransmission(0x42); Wire.send("A"); Wire.endTransmission(); Serial.println("DEBUG: Halfway");
Right now both SDA and SCL are being pulled low and stays there... Have I forgot to initialize anything that is needed to be able to use the wire library with my 2560?
A beginners mistake?? Any ideas ?
thanks//Fredrik BTW: The pins works fine. I can use digitalWrite(); to make them toggle as expected