2. Beating heart, Love meter and animation

Beating heart



1. Make a code like in the picture below and download it to your micro:bit






2. Lets make microbit to beat at same rhytm as your heart. Lets measure how many heart beats you have in ten seconds and calculate how much time it takes for one beat. For example: [[$ 10 seconds / 12 beats = 0,833 seconds / beat $]]​



3. Now its time to exercise! Lets get your heart pounding fast! Do 20 squats and measure your haert rate again. Change the code the way it shows your new heart rate.

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ä