Hello,
I am trying to create a mini thermometer system.
I am using a SunFounder Analog Temperature Sensor.
This is my code:
void setup() {
// put your setup code here, to run once:
pinMode(2, OUTPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
int temp = analogRead(A0);
Serial.write("\nNew Reading:\n");
Serial.write(temp);
delay(100);
}
When I open the Serial Monitor, I get this output:
I know that I haven't converted the voltage into a temperature yet but shouldn't I see numbers?
Thanks