Oil temperature sensor

Can you post a link to datasheet for the sensor? Edit your post to use code tags for the code please, as
explained in the how to post sticky threads...

What is the purpose of RV1 in the circuit? It carries no current.