Hi, I have an arduino due connected via i2c to a mega. I am using the SDA and SCL channels on the mega which are connected to the SDA and SCL channels on the Due respectively. The two channels are powered by the 3.3 V from the Due, which runs through 1.5k Ohm pullup resistors. When transmitting data from the Due to the mega, I am not receiving any data from the Mega. I am using arduino 1.5.4. Here is the code for the Due:
And the mega
// receive incoming data from uno board for shaft encoder
void receiveEvent(int byteCount)
char c = Wire.read();
Serial.println(“received from secondary board”);
The code previously worked fine with connecting to an arduino Uno but when I use the Due I get a very different result. Are there any quirks about the Due I should be aware of, such as the fact it takes 3.3V?