Love Meter

Make a love meter, how sweet! The micro:bit is feeling the love, then sometimes not so much!

Step 1

Let’s build a LOVE METER machine. Place a on pin pressed block to run code when pin P0is pressed.

Step 2

Using show number and pick random blocks, show a random number from 0 to 100 when pin P0 is pressed.

Step 3

Show “LOVE METER” on the screen when the micro:bit starts.

Step 4

Click Download to transfer your code in your micro:bit. Hold the GND pin with other hand and press pin P0 with the other hand to trigger this code. Link of the whole program: https://makecode.microbit.org/_7AJ3kWPuTEJb

This article comes from Love Meter.