I just implemented this for LCARS: If widpedom is installed, steps are used from this widget. If not then the Bangle health status is used.
If you want to read steps from widpedom with js you can call WIDGETS.wpedom.getSteps(). But ensure that widgets are loaded before this line is called...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I just implemented this for LCARS: If widpedom is installed, steps are used from this widget. If not then the Bangle health status is used.
If you want to read steps from widpedom with js you can call
WIDGETS.wpedom.getSteps()
. But ensure that widgets are loaded before this line is called...