So I'm thinking of adding a health event once per minute
Sounds a good idea.
Bangle.setSteps/etc
Not so keen on that. It means an App could reset the step count for the day.
We've had a longstanding issue that the step counter is 'steps since Bangle.js started' and
apps like pedometers have to do their own work to calculate steps per day.
Could the firmware not manage the reset at midnight as per current locale setting ?
Apps would be much simpler if we could just do Bangle.getSteps() rather than have to manage a listenner.
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.
Sounds a good idea.
Not so keen on that. It means an App could reset the step count for the day.
Could the firmware not manage the reset at midnight as per current locale setting ?
Apps would be much simpler if we could just do Bangle.getSteps() rather than have to manage a listenner.