Hi,
I am creating my first simple widget to totalize the weekly distance covered from history on my FR235 but need to add the distance covered during the current day to make the display value correct. I am using the distance component of the Class: Toybox::ActivityMonitor::Info but it appears to be returning a 0 value while my device is showing a distance has been covered.
I have checked the code is OK by interrogating the stepGoal and a value is returned, so it is pointing to my use of the distance variable.
Could anyone tell me if this distance component in Class: Toybox::ActivityMonitor::Info is OK to use on the FR235 or is there an alternative method of getting the current daily distance. Do I need to calculate it using the Number of steps * step Length
Many Thanks