3. Step counter and First Scratch story

Step counter

1. Every time we shake the microbit (when we take a step) microbit will change variable steps by one.



2. Microbit shows how how many steps you have taken

 

3. We want to reset steps sometimes. Button A is good for that. 




4. Now microbit takes steps only from your one leg. Lets change the code so it will count both legs.



Extra: 

Code microbit to be happy if you take more than 200 steps.

First Scratch story

1. Lets log in to Scratch
2. Choose backround and two characters
3. Make characters to speak each other. Use wait block to make them speek on their own turn.

Extras:

- Make your characters move. Use glide block. 
- Use next costume block and make your character more alive
- Make one character do something when you click it

https://scratch.mit.edu/projects/318336164/

Peda.net käyttää vain välttämättömiä evästeitä istunnon ylläpitämiseen ja anonyymiin tekniseen tilastointiin. Peda.net ei koskaan käytä evästeitä markkinointiin tai kerää yksilöityjä tilastoja. Lisää tietoa evästeistä