Most programs we write require several commands for the robot to execute 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
- #2019
- 01 Jul 2022
To make a program of multiple blocks, we first need to 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.
When we add blocks this way, they are executed one after the other from top to bottom. That means 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

Level A1 - Space Adventure - Robotics with LEGO SPIKE Prime
That is the first level of the LEGO robotics curriculum for second, third, and fourth-grade students.
A "space adventure" but with robots. Different robot structures are built in Level A1. The motors are controlled so that the robots perform precise movements around the "Earth", "Moon" and "Sun". We use the force sensor to overcome various obstacles we bump into. We learn interesting facts about the solar system and space vehicles.
- 64
- 30:30
- 76

Lesson 2 - Tidal waves
Introduction
Today, we will focus on an interesting effect caused by the Moon: tidal waves.
You may know that massive bodies have an attractive force - gravity. The Moon's gravity pulls the water in the oceans, which causes the sea level along the ocean coasts to temporarily rise or fall. The increased level is called high tide, and the decreased level is called low tide.
How much, do you think, can the difference between high and low tide be in the world?
The distance between high tide and low tide sea levels can reach up to 16 meters in the Bay of Fundy in Canada, and the lowest differences are in the Mediterranean, Baltic, and Black Seas, where they are only a few centimeters. We will use 50 cm as an average value as it is convenient for the task.
- 10
- 5
- 12
- 3d_rotation 1