aboutsummaryrefslogtreecommitdiff
path: root/libraries/Wire/examples/master_writer
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Wire/examples/master_writer')
-rw-r--r--libraries/Wire/examples/master_writer/master_writer.ino2
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