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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,10 +77,10 @@ This library is intended to provide a quicker and easier way to get started usin
77
77
*`VL53L0X()`<br>
78
78
Constructor.
79
79
80
-
*`void setI2cBus(TwoWire * bus)`<br>
81
-
Configures this object to use the specified I²C bus. `bus` should be a pointer to a `TwoWire` object; the default bus is `Wire`, which is typically the first or only I²C bus on an Arduino. If your Arduino has more than one I²C bus and you have the VL53L0X connected to the second bus, which is typically called `Wire1`, you can call `sensor.setI2cBus(&Wire1);`.
80
+
*`void setBus(TwoWire * bus)`<br>
81
+
Configures this object to use the specified I²C bus. `bus` should be a pointer to a `TwoWire` object; the default bus is `Wire`, which is typically the first or only I²C bus on an Arduino. If your Arduino has more than one I²C bus and you have the VL53L0X connected to the second bus, which is typically called `Wire1`, you can call `sensor.setBus(&Wire1);`.
82
82
83
-
*`TwoWire * getI2cBus()`<br>
83
+
*`TwoWire * getBus()`<br>
84
84
Returns a pointer to the I²C bus this object is using.
0 commit comments