Logo
coinundefined COINSADD

Using Sensor

+15XPsEasy2-5 Minutes

Challenge

Build a code to turn on all 25 LEDs when the micro:bit starts, turn off the center square when Button A is pressed, and Clear entire screen when the micro:bit is shaken.

YOU CAN EARN...!

TECHNOLOGY SKILLS
+15XPs
How To Do It

Solution.

Know More About It?

Shake function can be used to use the accelerometer of the micro:bit. The mobile phone uses a similar code and same sensor to detect motion while playing mobile games.

What Have Others Done?

Do you want to know what other students have done in the activity?