Reference says that AnalogRead returns int value. Unit value represents 4.9 mV, so if I want mV value i use:
float millivolt = analogRead(A1) * 4.9;
Is that true also with Arduino Due?
I'm trying to read TMP36 temperature sensor value, but I can not get the right value. The code is:
float temp = analogRead(A1) * 4.9;
temp = (temp - 500) / 10;