Rotation along one axis.

Look up "Mahoney" or "Madgwick" algorithms to estimate position from this type of sensor.