2019-04-14 23:11:37 +02:00

18 lines
279 B
C++

const int Temp = 0;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(Temp, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.print("Temperature: ");
Serial.println(analogRead(Temp));
delay(1000);
}