Skip to content

Commit 4a128c4

Browse files
committed
Fix API table
1 parent 7bfc9d1 commit 4a128c4

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The sketch is going to get the reading on every loop, store it and then the stat
103103
## API
104104
| Command | Details | type |
105105
| :----------------------------------- | :----------------------------------------------------------: | :---------------- |
106-
| setAddress(newAddress) | Change the I2C sensor's address (Not recommended) | `void` |
106+
| setAddress(newAddress) | Change the I2C sensor's address (Mandatory to set it to `Wire1`) | `void` |
107107
| getAddress() | Get the Sensor's I2C address | `uint8_t` |
108108
| init() | Configures the sensor and needed data. Like the usual begin()| `void` |
109109
| setDistanceMode(mode) | Set the distance mode (check the datasheet). Available modes `VL53L1X::Short`, `VL53L1X::Medium`, `VL53L1X::Long`, `VL53L1X::Unknown` | `void` |

0 commit comments

Comments
 (0)