diff options
Diffstat (limited to 'libraries/Wire/examples/master_reader')
-rw-r--r-- | libraries/Wire/examples/master_reader/master_reader.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Wire/examples/master_reader/master_reader.ino b/libraries/Wire/examples/master_reader/master_reader.ino index 74f0155..2d2419b 100644 --- a/libraries/Wire/examples/master_reader/master_reader.ino +++ b/libraries/Wire/examples/master_reader/master_reader.ino @@ -20,7 +20,7 @@ void setup() void loop() { - Wire.requestFrom(2, 6); // request 6 bytes from slave device #2 + Wire.requestFrom(8, 6); // request 6 bytes from slave device #8 while (Wire.available()) // slave may send less than requested { |