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
Changed the name of the ScanPacket method getDistance() to
getDistanceCentimeters() to indicate the unit of measurement of the
returned value. This name is also parallel with the method
getAngleDegrees(). Also, updated keywords.txt, the readme, and the
Arduino sketches accordingly.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ uint16_t getAngleRaw() const
223
223
Returns the angle of this reading as the raw 16-bit fixed point value. The scaling factor of this value is 16; this means that the angle in degrees is obtained by dividing the raw value by 16.
224
224
225
225
```c++
226
-
uint16_tgetDistance() const
226
+
uint16_tgetDistanceCentimeters() const
227
227
```
228
228
229
229
Returns the distance of this reading, in centimeters.
0 commit comments