Skip navigation

We will update our Privacy Policy soon. Please see the preview.

Switch cases

Switch cases: Learning Lego Mindstorms
Switch cases: Learning Lego Mindstorms

Situations and environments can change as your robot moves around. The Switch block allows your robot to make a decision on the fly about what actions to take based on the situation it’s in. The Switch block runs a test based on sensor data, a variable or a calculation and picks a sequence or case to run based on the outcome of that test.

Resume Transcript Auto-Scroll
Skill Level Beginner
2h 37m
Show More Show Less
Skills covered in this course
Developer Mindstorms

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month