If/else statements with micro:bit | Tutorial #3 @Science.Buddies
If/else statements with micro:bit | Tutorial #3  @Science.Buddies
Uploaded December 2025 | Updated November 2026, 2 days ago
This video shows you how to use if/else statements on your micro:bit with Microsoft MakeCode. Watch the rest of our micro:bit tutorial videos here: youtube.com/playlist?list=PLlBVuTSjOrcnS-I-zERgyxHMcCRm6rvLM

micro:bit science projects: youtube.com/playlist?list=PLlBVuTSjOrclB5jkYe-BcQyUyYlSnU7gS&si=UVOR1AMKU817jmCs

0:00 introduction
0:21 review of event blocks
1:46 if/else block
3:06 conditions
5:35 multiple if/else statements
7:37 multiple conditions
9:07 physical micro:bit
9:32 learn more

Science Buddies also hosts a library of instructions for over 1,500 other hands-on science projects, lesson plans, and fun activities for K-12 parents, students, and teachers! Visit us at sciencebuddies.org/?ytid=Ocx7H4e6Geg&ytsrc=description to learn more.

#STEM #sciencebuddies
*******************************
Connect with Science Buddies:

X: https://x.com/ScienceBuddies

FACEBOOK: facebook.com/ScienceBuddies

INSTAGRAM: instagram.com/scibuddy

PINTEREST: pinterest.com/sciencebuddies
If/else statements with micro:bit | Tutorial #3DIY Home Agrivoltaics | Science Projectair-powered robot gripper grabs a soccer ball | science projectbuilt-in lights for soft robots@Arduino model planetary landersilicone rubber + conductive fabric = artificial robotic skin | science projectHow to use buttons on a micro:bit | Tutorial #2Predict Wildfires with Machine Learning: Python Tutorialwildfire simulation and why controlled burns are importantData logging on micro:bit | Tutorial #12Can Life Survive on a Tidally-Locked Planet? | Science Projectscience project: bristlebot shape and movement
Science Buddies |

If/else statements with micro:bit | Tutorial #3

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER