Each of both resistors at a constant temp 23°C.
POWKEY1 = 0x1;
POWCON0 = 0x7B; // Set core to CPU speed of 1.28Mhz
POWKEY2 = 0xF4;
POWKEY3 = 0x76;
POWCON1 = 0x20; // Uart enabled, PWM & I2C disabled
POWKEY4 = 0xB1;
IEXCON = BIT1 + BIT2 + BIT6 + BIT7; // 600uA[1:3], Enable
ADCMSKI = BIT0 + BIT1;
ADCFLT = 0;
ADC0CON = BIT4 + BIT10 + BIT15; // Gain = 32[0:3], Ext.ref[4:5], Unipolar[10], Ext.ref [12], enable [15]
// [10:7=1011] = internal temperature sensor at ADC1
ADC1CON = BIT7 + BIT8 + BIT10 + BIT11 + BIT15; // Gain[0:1], reference[4:6], ADC2-3[7:10], Unipolar[11], Int Reference[12], enable ADC0[15]
ADCMDE = BIT0; // Enable Continuous conversion mode & 133 khz
ADC temperature drift calibration