Skip to content

Commit d6af06b

Browse files
committed
Update API table
1 parent 664865b commit d6af06b

File tree

1 file changed

+4
-4
lines changed
  • content/hardware/05.nicla/boards/nicla-vision/tutorials/proximity-sensor

1 file changed

+4
-4
lines changed

content/hardware/05.nicla/boards/nicla-vision/tutorials/proximity-sensor/content.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ The sketch is going to get the reading on every loop, store it and then the stat
106106
| setAddress(newAddress) | Change the I2C sensor's address (Not recommended) | `void` |
107107
| getAddress() | Get the Sensor's I2C address | `uint8_t` |
108108
| 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` |
112112
| 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` |
114114
| stopContinuous() | Stop the non stop measurements. | `void` |
115115
| read() | Get the last reading from the continuous mode. | `void` |
116116
| readSingle() | Trigger one reading and get its result. | `uint16_t` |

0 commit comments

Comments
 (0)