How to set motor ports in LEGO SPIKE Prime Word Blocks software Pro Preview

By default, the motors of the LEGO SPIKE Prime controller connect to ports A and B. What if we want to connect them to other ports? Here's how to change ports in the software.

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #2015
  • 01 Jul 2022

The block we use to change the ports of the movement motors in the software is in the second-to-last place in the Movement palette. It is called set movement motors to.

content picture

The block has one parameter which sets the ports of the two drive motors.

content picture

Once we have set the correct ports, our robot will use the new ports as drive motors. Thus, all blocks from the Movement palette will move these two motors.

That block can also be used to reverse the ports, which can be useful if you program the robot to move forward but it still moves backward.

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Level A1 - Space Adventure - Robotics with LEGO SPIKE Prime
  • 64
  • 30:30
  • 76
Image for Lesson 2 - Tidal waves
  • 10
  • 5
  • 12
  • 3d_rotation 1