Hi can't get Ardunio DUE & LM35 to work for me. Works great on MEGA-ADK board.
I get 91 Analog read & 41 degree C for first reading
then ZERO for all other readings
int potPin = 0; //input read pin for LM35 is Analog Pin 0
void setup()
{
Serial.begin(9600);
}
void loop ()
{
int aRead = 0;
aRead = analogRead(potPin);
Serial.print("Analog = ");
Serial.print(aRead);
float tempC = (((aRead * 5000) / 1024.0) ) / 10.0 ;
Serial.print(" Temp = ");
Serial.println(tempC);
delay(3000);
}