Releases: sparkfun/SparkFun_Qwiic_XM125_Arduino_Library
Version 2.0.0
Overview
This release updates the XM125 library to support the use of the SparkFun_ToolKit Version 1.0 and simplifies the overall library implementation to match the different sensor applications (Distance and Presence).
Note
Upgrading from version 1.0 to 2.0 of the library will require some code changes -- see this section in the README.md file of this repo for more information.
Updates
- Now using Version 1.0 of the SparkFun_Toolkit
- Move the main sensor object to separate object - each focused on the sensors specific operating mode.
- Change method names now that the functionality is split into two objects
- Minor changes to setup routines -- allow the user to specify "start" and "end" sensor distances at setup.
Update to library.properties file
Fixes return values by distance registers
Similar to the previous release, there were more registers that divide the result by 10, resulting in centimeters, where millimeters were expected.
Updates getDistance
Distance was being returned in centimeters by default, this has been changed to return the distance in millimeters. This is the unit of the distance stored within the XM125's registers.
v1.0.1
Arduino examples cleanup
v1.0.0
Release for Arduino IDE Library Registry