MyBlock for controlling the Medium Motor by position.

Using the On for degrees (rotations) option of the the Medium Motor Move Block you program the motor to rotate for the given number of degrees. However, sometimes is useful to program the motor to go to a given position, instead. To achieve that you can use this block. It takes the start position of the motor as 0 degrees. Then when you run the block with given number of degrees it just rotates the motor to that position. For exaple if your current position is -20 degrees and you run the block with 30 degrees, the motor will rotate for 50 degrees. But if your current position is 10 degrees the same program will rotate the motor for 20 degrees.

How to open?

  • #qif6wz
  • 01 Dec 2015