Open GoogleCodeExporter opened 9 years ago
Could you post the modifications you made to make the general call work? I'm
very much
interested in this feature since I have multiple arduino's communicating with
eachother over I2C
Original comment by daan.ger...@gmail.com
on 10 Mar 2010 at 11:49
It's a one-liner in my setup function:
void setup()
{
...
// Initialise I2C
Wire.begin(MY_ADDR); // as slave
bitSet(TWAR, TWGCE); // ugly hack to enable general call
Wire.onReceive(receiveEvent);
...
}
I just added the line commented "ugly hack..." :)
Original comment by kevin.i.orourke
on 10 Mar 2010 at 5:28
Great! works like a charm :). I second the idea of having a boolean parameter
to
indicate general call handling.
Original comment by daan.ger...@gmail.com
on 10 Mar 2010 at 6:40
Original issue reported on code.google.com by
kevin.i.orourke
on 20 Sep 2009 at 3:07