

How to use the if/else block in LEGO SPIKE Prime Word Blocks software
Have you ever wondered if your robot can make decisions? Here's how we can make that happen!
- #2292
- 29 Jul 2024
Have you ever wondered if your robot can make decisions? Here's how we can make that happen!
Have you ever wondered if your robot can make decisions? Here's how we can achieve that!
There are many cases in programming where you want something to repeat indefinitely. Here's how to achieve that!
This is one of the first sensor blocks you'll learn! Here's how we use it!
Reversity - LEGO SPIKE Prime robot with two motors in reverse directions has two motors placed in opposite directions! If we just put a block that moves them both forward, the robot spins in place. So, how do we move it forward?
Now that you know how the distance sensor works, how do we use it?
How does the distance sensor measure distance? Let's learn!
Have you ever needed your robot to do two things at once? That's called a parallel thread. Here's how to do it in SPIKE Prime using Word Blocks software.
You already know what wait for seconds does, but do you know what wait until does?
Have you ever had many blocks of your program that repeat? This block will shorten your program significantly when this happens!
Sounds easy, eh? Try it for a bit and come back to read this tutorial!
We already know how to move the whole robot. How can we move only one motor?
How much does a robot move when it turns 90°? How does this compare to a wheel turning 90°? What’s the difference?
Every part has its place in the box and you should return all parts to where they belong.
Energy consumption in our homes is part of everyday life, such as watching the television.
Raise the television screen and move the energy unit to the television slot.
To find out how the robot sees, or rather DOESN'T see the world, we will play a game so that you feel what it is to be a robot.