Skip to content

Commit 93301a1

Browse files
committed
Update digital_potentiometer_timeout.ino
Have to clear Timeout flag in user code if it ever gets set
1 parent 6030102 commit 93301a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/Wire/examples/digital_potentiometer_timeout/digital_potentiometer_timeout.ino

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ void loop() {
3232

3333
if ( Wire.getWireTimeoutFlag() ) {
3434
// handle timeout
35+
Wire.clearWireTimeoutFlag();
3536
count++;
3637
}
3738

0 commit comments

Comments
 (0)