

How to use the Color Sensor event block in LEGO SPIKE Prime Word Blocks software
Here's one way to program using a color sensor!
- #2313
- 30 Jul 2024
Here's one way to program using a color sensor!
What is a color? How does our robot detect it? Learn that here!
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?