Closed d3nd3 closed 8 months ago
You have a choice whether a Bangle.on("pressure")
callback fires from a Bangle.getPressure()
, currently it does.
Okay. I am fairly happy with the code.
Feedback welcome.
Thanks - I'll post some comments in the issue...
Fixes #2445
I decided to keep the timeout as the comments suggest there need to be a minimum delay after turning on. But still utilized the code in the periPollHandler to resolve the promise.