using this if condition code it not checks runtime....
i want make like if i remove dongle thn msg prints "insert dongle" at runtime..
Wire.beginTransmission(80);
error = Wire.endTransmission();
if (error == 0)
{
Serial.print("Connected");
}
else
{
Serial.println("Insert dongle");
}
it works when i restart ardiuno not at runtime. i tried also using while loop also not works.