Skip to content

Commit a23f200

Browse files
authored
Update VL53L1_Sat_HelloWorld_Interrupt.ino
1 parent c87ec97 commit a23f200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/VL53L1_Sat_HelloWorld_Interrupt/VL53L1_Sat_HelloWorld_Interrupt.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void setup()
113113

114114
sensor_vl53l1_sat.VL53L1_SetPresetMode(VL53L1_PRESETMODE_RANGING);
115115

116-
sensor_vl53l1_sat.VL53L1_StartMeasurement();
116+
sensor_vl53l1_sat.VL53L1_ClearInterruptAndStartMeasurement();
117117
}
118118

119119
void loop()

0 commit comments

Comments
 (0)