This isn’t a magical cut and paste example. YOU need to do some work.  Why? There are a number of Vishay thermistors, all with different properties and I don’t know which one you have. The values included here are for …

Using Vishay NTCASCWE3102J or NTCASWE3xx NTC Thermistors with the PIC18F2550 Read more »