Skip to content

Releases: sparkfun/SparkFun_Qwiic_XM125_Arduino_Library

Version 2.0.0

24 Mar 20:06
7a8be06
Compare
Choose a tag to compare

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

14 Feb 19:54
Compare
Choose a tag to compare

Updates

  • This release just adds a version check for the 'SparkFun_Toolkit' library to the depends line in lib.properties
  • No other functionality changed.

Fixes return values by distance registers

29 May 21:43
Compare
Choose a tag to compare

Similar to the previous release, there were more registers that divide the result by 10, resulting in centimeters, where millimeters were expected.

Updates getDistance

18 Apr 20:00
Compare
Choose a tag to compare

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

19 Mar 20:36
Compare
Choose a tag to compare

Arduino examples cleanup

v1.0.0

18 Mar 17:24
Compare
Choose a tag to compare

Release for Arduino IDE Library Registry