LEGO 【MINDSTORMS】EV3
Motor Rotation Block
Motor Rotation Block - Overview -
The Motor Rotation block gets data from the Motor Rotation sensor that is built into the Medium Motor, Large Motor, and NXT Motors. You can measure how far a motor has turned in degrees or rotations. You can also get the current power level that a motor is running at.
The Motor Rotation block can also compare the rotation amount or power level to a Threshold Value to get a Logic (True or False) output.
*The Motor Rotation block outputs data with a Data Wire.