In this Superhouse.tv sketch for the relay 8 boards, Jon Oxer uses 2 relay 8 boards. The addresses are 0x20 and 0x21, but I am having difficulty understanding how the code works, as the 2nd board (0x21) is never really addressed... ->
// Set addressing style
Wire.write(0x20); // use table 1.4 addressing
But I was wondering should there be a line for "Wire.write(0x21); // use table 1.4 addressing" ?
Note: Even without the line, both relays work and all outputs are independent, I am just very puzzled about why one shield can be mentioned but not the other, and this would come into play as I add relay shields.
Can anyone help me break this down?
Got comments, questions, or tips about any of the shields listed on ShieldList.org? Post them here!
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest