#include SoftwareSerial monserial(0, 1); float tempC; // Variable to store the value obtained from the sensor (0 to 1023) int pinLM35 = 3; // Variable for the sensor's input pin (A0) void setup() { // We configure the serial port to 9600 bps. monserial.begin(9600); } void loop() { tempC = analogRead(pinLM35); // Read the signal from LM35 PIN tempC = (5.0 * tempC * 100.0)/1024.0; // Transform into Celcius monserial.print(tempC); monserial.print("\n"); delay(1000); }