Variable Speed

This will teach you how to change the speed of your motors much more efficiently through the use of variables.

The code you want-Lesson 2-skip/scroll down for how to

  1. Click on Variable and click on Create Variable

2. Add name of the variable

3. This appears

  1. Now you need number -click math

a. Choose zero

b. You can change it later

  1. Join the math block to set speed

  1. You can join the new variable to the motor

Last updated