What's appen with my analog pin

Hello there,

I am sorry for late reply, but I was busy with some other topics.
Now I juste measure the voltage a the van direction, and that clear.

Noth : 3.2V or 78mV
Est: 1.73V
South: 2.5V (end not 1.6V)
Oest: 2.7V

So that anemometer is not lenar.
I think, at the end, I have to calibrate it with the analog value I measure when I move the van.

N: 1023/0
N/E: 276
E: 561
E/S: 668
S: 775
S/W: 833
W: 871
W/N: 924
I quickly note the above value by moving the van

Thta's mean that the code here is not realiable and I should adapt it following the measure I found by moving the van from N/E/S/W

And as it look to be not linear, this


Direction = map(analogInput, 0, 4095 , 0, 360);

can not be used

Or is the anemometer defect?