Skip to main content

04CowardlyRobot

Introduction:​

Using the microphone of Microbit V2 and the motors of TabbyBot, create a small car that runs away when it detects loud noises.

Objectives:​

1.When the microphone detects low ambient sound, the Microbit displays a smiling face, and the car remains stationary.

2.When the microphone detects loud noises, the Microbit displays a crying face, and the car appears to be hesitant and moves backward.

Code:​

https://makecode.microbit.org/_AEVUtqidq9DE

image-20260609155813600

Actual Result:​

202402061748219