You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| getAddress() | Get the Sensor's I2C address | `uint8_t` |
108
108
| init() | Configures the sensor and needed data. Like the usual begin()| `void` |
109
-
| setDistanceMode(mode) | | `void` |
110
-
| getDistanceMode() | | `struct distance` |
111
-
| setMeasurementTimingBudget(uSeconds) | Set the time to get the measure, greater the value, better precision. In micro seconds. | `void` |
109
+
| setDistanceMode(mode) | Set the distance mode (check the datasheet). Available modes `VL53L1X::Short`, `VL53L1X::Medium`, `VL53L1X::Long`, `VL53L1X::Unknown` | `void` |
110
+
| getDistanceMode() | Returns the mode that has been set. Available modes `VL53L1X::Short`, `VL53L1X::Medium`, `VL53L1X::Long`, `VL53L1X::Unknown`| `enum DistanceMode ` |
111
+
| setMeasurementTimingBudget(uSeconds) | Set the time to get the measure, greater the value, better precision. In micro seconds. | `void` |
112
112
| getMeasurementTimingBudget() | Get the measure timing value in micro seconds. | `uint32_t` |
113
-
| startContinuous() | Start the non stop readings, set the period inside the parameter, after that time you will get the reading. | `void` |
113
+
| startContinuous() | Start the non stop readings, set the period inside the parameter, after that time you will get the reading. | `void` |
114
114
| stopContinuous() | Stop the non stop measurements. | `void` |
115
115
| read() | Get the last reading from the continuous mode. | `void` |
116
116
| readSingle() | Trigger one reading and get its result. | `uint16_t` |
0 commit comments