Loop Interrupt Block Pro Preview

How can we interrupt the loop? How can the program know which loop to interrupt? 

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1121
  • 15 Feb 2019

Most programs are executed in an infinite loop. In this lesson we will focus on a new block which interrupts the loop without programming it how much it should repeat in advance. We are going to use the Loop Interrupt Block for that purpose. This is the last block in the orange palette.

The only thing we have to set is the name of the loop we want to interrupt. This is done by clicking on the upper right corner where we usually set the ports. Then, from the drop-down list, we choose the name corresponding to the loop we want to interrupt.

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Robotics with LEGO - Level 3.0 - Security systems
  • 50
  • 1:03
  • 213
Image for Lesson 2 - Weighing security stand
  • 8
  • 5
  • 15
  • 3d_rotation 1
Image for Robotics with LEGO - Level 4.0 - Kinesthetic and Memory Game (in development)
  • 59
  • 2:58
  • 200