I have an assignment due tomorrow where I have to complete the following upgrades to my step counter app. Is there anyway I can get help/ tips?
You have two button click events for the same button.
That caused the red error mark.
Combine the blocks from one into the other, and delete the empty one.
Also, you have an empty socket.
What did you want to add 1 to?
If you can get the total steps into a variable, use the math blocks to test if its remainder when divided by 10 is 0. That would mean it is an occasion to play a sound.
You could also play a different sound if the total steps was divisible by 100.
To get the total of steps in a week, you would need to save that under a TinyDB tag for the week number which you can find in the Clock blocks.
Thank you so much, if it isn’t too much is there a way you could visualize the blocks to use for sound to play every ten steps?
Why don't you give it a try and show what you have made. It is your homework and we are not here to do that for you.