aboutsummaryrefslogtreecommitdiff
path: root/libraries/Wire/examples/slave_receiver/slave_receiver.ino
diff options
context:
space:
mode:
authorFederico Fissore <federico@fsfe.org>2015-05-14 14:07:43 +0200
committerFederico Fissore <federico@fsfe.org>2015-05-14 14:07:43 +0200
commitdd88644450df71b6471d30de4140cf287c4e87b5 (patch)
treeb772420eb548a61cb81fccd4ef02aff1751e6491 /libraries/Wire/examples/slave_receiver/slave_receiver.ino
parent2e90af7ab6fa054a5c0a485624a650e4259fa184 (diff)
parent9a9760cc86e1684875e5fdb2f39e146042df9f72 (diff)
Merge pull request #3109 from agdl/fix_i2cexamples
Fix for #2969 (I2C reserved addresses)
Diffstat (limited to 'libraries/Wire/examples/slave_receiver/slave_receiver.ino')
-rw-r--r--libraries/Wire/examples/slave_receiver/slave_receiver.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Wire/examples/slave_receiver/slave_receiver.ino b/libraries/Wire/examples/slave_receiver/slave_receiver.ino
index 15eff9a..53df274 100644
--- a/libraries/Wire/examples/slave_receiver/slave_receiver.ino
+++ b/libraries/Wire/examples/slave_receiver/slave_receiver.ino
@@ -14,7 +14,7 @@
void setup()
{
- Wire.begin(4); // join i2c bus with address #4
+ Wire.begin(8); // join i2c bus with address #8
Wire.onReceive(receiveEvent); // register event
Serial.begin(9600); // start serial for output
}