Rotary Encoder in degrees

Those switches have detents, so your wind direction indicator may not be able to turn the shaft.