This program makes the Big Wheelster – LEGO SPIKE Prime robot move forward until it bumps into something! This robot features one big wheel powered by two Medium Motors. What’s interesting is that the motors must spin in opposite directions to make the wheel rotate. That’s why we’ve created a My Block to control the robot.
The My Block allows you to set how far the robot should move—either a specific number of rotations or indefinitely (by setting it to 0 rotations). It also includes a logic option for direction: use 1 for forward and 0 for backward.
When the robot detects a bump using the front touch sensor, the program makes it reverse using the back wheels, helping it avoid hitting the same obstacle again!
How to open?
Download- #blsqav
- 28 Jul 2020