Rotations- Sensor

The rotation sensor is a simple way to input a number based on the angle of the knob. You can use it with the "analog read" block in the "Pin" block under the "Advanced" tab. The value from the analog read should be between 1-1023. You can change the range of values using the "map" block in the "Pin" palette.