ARDUINO DUE: Read the values of an anemometer on an analogue channel ...

I have an ARDUINO DUE and I would like to read the values of an anemometer on an analogue channel eg: A0.

The sensor power supply is 12Vdc and the signal output varies from 0 to 5V. I ask you if on the analogue channel it is possible to read input values from 0 to 5V

The arduino DUE is 3.3V compliant only and you can only input a voltage between 0V and 3.3V on an analog channel if you do not add any additional hardware. However, you can use a voltage divider with 2 resistors to lower a 5V input to 3.3V.

Ok, thank. What resistors should I put to bring me from 5V to 3.3V? Furthermore, being a wind direction sensor, I should have 0 - 360 ° to match 0 - 3.3V how do you do it? Sorry for ignorance.Thank