Create an array of actual values read from the A:D converter when the thing is pointed in the desired direction.
For instance. Point the wind vane north, what id the readout for the A:D converter? That's your north reading.
Now turn the wind vane south, take AD readings, that's your A:D reading for south.
Use real world values instead of values you thing they should be.