Median of 3 filter for multiple time of flight sensors translated from arduino by pololu
Dependents: wheelchaircontrol wheelchaircontrol2 wheelchaircontrol3 wheelchaircontrol4 ... more
Diff: VL53L1X.cpp
- Revision:
- 5:a75d46c735c7
- Parent:
- 4:f6f0c2b9120a
--- a/VL53L1X.cpp Thu Aug 08 16:15:17 2019 +0000 +++ b/VL53L1X.cpp Wed Jun 03 20:11:31 2020 +0000 @@ -488,7 +488,7 @@ getRangingData(); writeReg(SYSTEM__INTERRUPT_CLEAR, 0x01); // sys_interrupt_clear_range - + return ranging_data.range_mm; }