my microbit thermometer
Micro Bits have a natural thermometer that can be can be used for a project with the temperature block (this block is my project). I made a variable called temp and dragged out the block that said set temp to 0. I put the temperature block into the set temp to block. Next I put this new block inside an on shake loop. This means that every time I shake the Micro Bit it would set my variable to the temperature it was registering. Next I dragged a show number block out into the work space and put a temp block inside I put this entire thing into the on shake loop. This means that when I shake the Micro Bit it would set my variable to the temperature it was registering that it would show the temperature. Then it would show the temperature useing the show number block.