Written by marcelpetrick
on October 28, 2017
The surface-temperature of an average ~furry lazybutt~ housecat is 24°C 😀
For this important experiment you need: a Calliope Mini, a computer science-degree and too much free time ;’)
Just kidding, the code is quite simple:
1 2 3 4 |
input.onButtonPressed(Button.A, () => { music.playTone(262, music.beat(BeatFraction.Whole)) basic.showString("" + input.temperature() + "°C") }) |
Leave a Reply
You must be logged in to post a comment.