Arduino uno

Hi,
I’m working on Arduino Uno.
but my code is for arduino due how do i change from 12bit due to 10bit uno?

GettingStartedProject2.ino (566 Bytes)

You'll be much more likely to get help here if you post code directly to the forum (using code tags) than posting it as an attachment. Some forum members can't or won't bother to download the attached file to see whether they can help and so you're are less likely to get an answer to your question.

I couldn't say for sure without looking at the InfraredTempSensor library (hint), but I'd think you only need to change this line:

InfraredTempSensor infrared(A2, A3, 0, 12); //A2 = Ambient Analog Pin, A3 = Object Analog Pin, Calibration Constant = 0, ADC Resolution = 12

to:

InfraredTempSensor infrared(A2, A3, 0, 10); //A2 = Ambient Analog Pin, A3 = Object Analog Pin, Calibration Constant = 0, ADC Resolution