Skip navigation

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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now