Executing more than one command with LEGO SPIKE Prime word blocks Pro Preview

Most programs we write require several commands for the robot to execute in order to complete its task. Here's how to do it with SPIKE Prime Word Blocks software!

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #2019
  • 01 Jul 2022

To make a program of multiple blocks, we need to first place one block with a command, for example move 50 cm forward. Then, in the same way, we take another block and place it directly under the previous one.

content picture

When we add blocks this way, they are executed one after the other from top to bottom. This means that the program in the picture would move the robot forward 50 cm and then back 50 cm. We can then place as many blocks as we need for the robot to complete the task correctly.

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Robotics with LEGO SPIKE Prime - Level A1
  • 64
  • 30:30
  • 76
Image for Lesson 2 - Tidal waves
  • 10
  • 5
  • 12
  • 3d_rotation 1