diff options
author | Arturo Guadalupi <a.guadalupi@arduino.cc> | 2015-05-07 17:41:18 +0200 |
---|---|---|
committer | Arturo Guadalupi <a.guadalupi@arduino.cc> | 2015-05-14 11:27:00 +0200 |
commit | 9a9760cc86e1684875e5fdb2f39e146042df9f72 (patch) | |
tree | dcbbe996d93c958568603db25c4c60011cb14495 /libraries/Wire/examples/slave_sender | |
parent | b682456e8e74dbbccb3e709b7838a8475902c00c (diff) |
Fixes #2969:
This fixes the Wire examples that uses I2C reserved address (from 0 to 7) substituting them with 8 that is the first one available and that can be used.
I also modified the wire reference
http://www.arduino.cc/en/reference/wire
according to this fact.
Diffstat (limited to 'libraries/Wire/examples/slave_sender')
-rw-r--r-- | libraries/Wire/examples/slave_sender/slave_sender.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Wire/examples/slave_sender/slave_sender.ino b/libraries/Wire/examples/slave_sender/slave_sender.ino index 4437ab1..26b9e52 100644 --- a/libraries/Wire/examples/slave_sender/slave_sender.ino +++ b/libraries/Wire/examples/slave_sender/slave_sender.ino @@ -14,7 +14,7 @@ void setup() { - Wire.begin(2); // join i2c bus with address #2 + Wire.begin(8); // join i2c bus with address #8 Wire.onRequest(requestEvent); // register event } |