#include SoftwareSerial monserial(0, 1); int ther=A2; float temp; float value; float reading; void setup() { pinMode(ther,INPUT); monserial.begin(9600); } void loop() { // put your main code here, to run repeatedly: value=analogRead(ther); reading = (1023.0 / value) - 2.0; temp = reading*100.0; monserial.print("Temperature "); monserial.println(temp); delay(1000); }