-->
Page 1 of 1

I2C Problem #1

PostPosted: Thu Feb 15, 2018 9:02 pm
by Eddiie
Hello,

I have a multi-master I2C setup. The PoC code works fine on Arduino Mega and Uno. However, when I compile it and upload it to my Heltec Wifi 8 Kit, the code runs but hangs on waiting to send ACK.

(It is awesome that I can specify pin numbers to use, can't seem to do this on Mega or Uno.)

I have successfully tested the same pins with the I2C_Master and I2C_Slave examples with success.

Some code:
Code: Select allvoid loop()
{
  Serial.write("Waiting to send ack...");
  while (!send_ack_signal)
  {
    delay(500);
  }



"send_ack_signal" never changes, which is created when you initialize I2C.

Might have to break out the analyzer and see what is happening but thought I'd ask here first.

Re: I2C Problem #1

PostPosted: Mon Feb 19, 2018 10:07 pm
by Eddiie
Is this not the correct Forum or group?