We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d92ef26 commit dbbf884Copy full SHA for dbbf884
1 file changed
python/VL53L0X.py
@@ -157,9 +157,8 @@ def get_timing(self):
157
return 0
158
159
def configure_gpio_interrupt(
160
- self, proximity_alarm_type: Vl53l0xGpioAlarmType = Vl53l0xGpioAlarmType.THRESHOLD_CROSSED_LOW,
161
- interrupt_polarity: Vl53l0xInterruptPolarity = Vl53l0xInterruptPolarity.HIGH,
162
- threshold_low_mm: int = 250, threshold_high_mm: int = 500):
+ self, proximity_alarm_type=Vl53l0xGpioAlarmType.THRESHOLD_CROSSED_LOW,
+ interrupt_polarity=Vl53l0xInterruptPolarity.HIGH, threshold_low_mm=250, threshold_high_mm=500):
163
"""
164
Configures a GPIO interrupt from device, be sure to call "clear_interrupt" after interrupt is processed.
165
0 commit comments