diff options
author | Federico Fissore <federico@fsfe.org> | 2015-05-14 14:07:43 +0200 |
---|---|---|
committer | Federico Fissore <federico@fsfe.org> | 2015-05-14 14:07:43 +0200 |
commit | dd88644450df71b6471d30de4140cf287c4e87b5 (patch) | |
tree | b772420eb548a61cb81fccd4ef02aff1751e6491 /libraries/Wire/examples/master_writer | |
parent | 2e90af7ab6fa054a5c0a485624a650e4259fa184 (diff) | |
parent | 9a9760cc86e1684875e5fdb2f39e146042df9f72 (diff) |
Merge pull request #3109 from agdl/fix_i2cexamples
Fix for #2969 (I2C reserved addresses)
Diffstat (limited to 'libraries/Wire/examples/master_writer')
-rw-r--r-- | libraries/Wire/examples/master_writer/master_writer.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Wire/examples/master_writer/master_writer.ino b/libraries/Wire/examples/master_writer/master_writer.ino index 482e922..9933cc2 100644 --- a/libraries/Wire/examples/master_writer/master_writer.ino +++ b/libraries/Wire/examples/master_writer/master_writer.ino @@ -21,7 +21,7 @@ byte x = 0; void loop() { - Wire.beginTransmission(4); // transmit to device #4 + Wire.beginTransmission(8); // transmit to device #8 Wire.write("x is "); // sends five bytes Wire.write(x); // sends one byte Wire.endTransmission(); // stop transmitting |