Scratch (Word Blocks) program for backward align with Color Sensors from LEGO Education SPIKE Prime

In this program we demonstrate how to program a SPIKE robot to align to а line with the aid of two color sensors while moving backward. Make sure the line is big enough for the sensor to detect it. For this program to work, the sensors must be placed in front of the wheels.

This program was intended for and tested on the Gazon robot

How to open?

Programs with extension *.llsp could be opened with version 2 of the LEGO Scratch Word Blocks software. It is also known as 'SPIKE Legacy'. You can download it from LEGO website. You can also visit spikelegacy.legoeducation.com to use it online Note that this programs are incompatible with version 3 of the software.

Download
  • #oq6j5c
  • 10 Aug 2022

Courses and lessons with this Program

This Program is used in the following courses and lessons

Image for LEGO Education SPIKE Prime Programming for competition with Word Blocks
  • 40
  • 188:21
  • 19
Image for Backward align to a line with two sensors
  • 2
  • 0
  • 1
  • 3d_rotation 1