Module rotation

Module rotation 

Source

Constants§

ROTATION_MINIMUM_DATA_RATE

Functions§

rotation_get_angle
Get the Rotation Sensor’s current angle in centidegrees (0-36000)
rotation_get_position
Get the Rotation Sensor’s current position in centidegrees
rotation_get_reversed
Get the Rotation Sensor’s reversed flag
rotation_get_velocity
Get the Rotation Sensor’s current velocity in centidegrees per second
rotation_init_reverse
Initialize the Rotation Sensor with a reverse flag
rotation_reset
Reset Rotation Sensor
rotation_reset_position
Reset the Rotation Sensor position to 0
rotation_reverse
Reverse the Rotation Sensor’s direction
rotation_set_data_rate
Set the Rotation Sensor’s refresh interval in milliseconds.
rotation_set_position
Set the Rotation Sensor position reading to a desired rotation value
rotation_set_reversed
Set the Rotation Sensor’s direction reversed flag