Love Meter

Uses

pins, LED Display

Description

In this challenge you will use your micro:bit to create a love meter that generates a random number from 0-100 when pin0 and GND is touched.

../../_images/love-meter.jpg

You will need 2 person for this activity, wherein 2 person will touch each others hand, and one person’s free hand will touch the pin0, while the other person’s free hand will touch the GND pin.

Basic Task

  1. Display a welcome image and a scrolling text that says “LOVE METER”
  2. Check whether pin0 was touched. use the pin0.is_touched() to do this.
  3. Generate a random number from 0 to 100.
  4. Create a waiting animation for 4 seconds to create anticipation
  5. Display the result on the LED display