Here’s the code you need for those ultra light members of the family! This will scare them
When someone steps on the mat: a cross shows, a melody plays and another micro:bit gets a message. When a cat steps on the mat: nothing happens. It sits there all smug.
Here’s the code to set off the alarm for members of the family that are too light for the mat to trigger. On the second micro:bit you’ll need to send a number from a button press to use as the trigger.