In this program we demonstrate how to use the built-in motion sensor of the SPIKE brick to program the robot to turn 90 degrees. Due to the chance of overshooting the targeted angle, the robot is programmed to stop turning if it reaches or goes above 90 degrees. Since the robot, this program was made for, is a little tilted, the angle it is programmed to turn to is changed a little to compensate for the tilt.
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
- 10 Aug 2022
- LEGO Education SPIKE Prime
- FIRST LEGO League, Scratch, LEGO Education SPIKE App Word Blocks 2, FLL, Programming