08-26-2021, 07:05 PM
Hello,
I'm working on a custom Wasp-OS watch face to include the current step count. I'm using "watch.accel.steps" to get the step count value, which I picked up by looking at the step counter app included with Wasp-OS.
My app works in the simulator, but crashes on the device.
I tried to check the step count in a console on the watch using wasptool, and got this:
Is there another method I should use to get the step count?
I also noticed that Wasp-OS doesn't display its built in step counter app. Not sure if I'm doing something wrong. The step counter did work initially when I had InfiniTime installed, so the hardware works (or did, at one point).
Any pointers appreciated!
I'm working on a custom Wasp-OS watch face to include the current step count. I'm using "watch.accel.steps" to get the step count value, which I picked up by looking at the step counter app included with Wasp-OS.
My app works in the simulator, but crashes on the device.
I tried to check the step count in a console on the watch using wasptool, and got this:
Code:
>>> watch.accel.steps
Traceback (most recent call last):
File "<stdin>", in <module>
File "drivers/bma421.py", in steps
ValueError: invalid sensor
>>>
Is there another method I should use to get the step count?
I also noticed that Wasp-OS doesn't display its built in step counter app. Not sure if I'm doing something wrong. The step counter did work initially when I had InfiniTime installed, so the hardware works (or did, at one point).
Any pointers appreciated!