Skip to content

Commit bbae507

Browse files
rebase restart-i2c and add missing parameter
1 parent 5fc9d72 commit bbae507

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/StandardFirmata/StandardFirmata.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
See file LICENSE.txt for further informations on licensing terms.
2222
23-
Last updated by Jeff Hoefs: November 7th, 2015
23+
Last updated by Jeff Hoefs: December 9th, 2015
2424
*/
2525

2626
#include <Servo.h>
@@ -151,7 +151,7 @@ void detachServo(byte pin)
151151
servoPinMap[pin] = 255;
152152
}
153153

154-
void readAndReportData(byte address, int theRegister, byte numBytes) {
154+
void readAndReportData(byte address, int theRegister, byte numBytes, byte stopTX) {
155155
// allow I2C requests that don't require a register read
156156
// for example, some devices using an interrupt pin to signify new data available
157157
// do not always require the register read so upon interrupt you call Wire.requestFrom()

0 commit comments

Comments
 (0)