1
0
Fork 0

apps: steps: Reduce the graphing scale

Currently then even fast walking will run off the top of the graph. Change
the scale to that fast walking shows in full. I think at this level fast
running will probably run off the top but I need to gather a few more
details before settling on the final scale.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
Daniel Thompson 2021-03-01 20:03:07 +00:00
parent 7a5990072c
commit 4879b7198e

View file

@ -168,7 +168,7 @@ class StepCounterApp():
# TODO: the x < 2 conceals BUGZ
continue
total += d
d = d // 3
d = d // 4
if d > 200:
draw.fill(0xffff, x, 239-200, 1, 200)
else: