summaryrefslogtreecommitdiff
path: root/temperatura-lm35.ino
diff options
context:
space:
mode:
authorLuca Tringali <tringalinvent@libero.it>2019-03-11 23:02:50 +0100
committerLuca Tringali <tringalinvent@libero.it>2019-03-11 23:02:50 +0100
commit091f0c084f44ba6ce1656cdc73ab034abc881620 (patch)
treeef68cdf5fb2b033a42d2c94bbc656b047deb17c0 /temperatura-lm35.ino
parent299ee1066f15506da34beeba6e90a44891780734 (diff)
Rinomina file
Diffstat (limited to 'temperatura-lm35.ino')
-rw-r--r--temperatura-lm35.ino15
1 files changed, 0 insertions, 15 deletions
diff --git a/temperatura-lm35.ino b/temperatura-lm35.ino
deleted file mode 100644
index a75cb28..0000000
--- a/temperatura-lm35.ino
+++ /dev/null
@@ -1,15 +0,0 @@
-int pin = 1;
-double temp = 0.0;
-
-void setup(){
- Serial.begin(9600);
-}
-
-void loop(){
- temp = analogRead(pin)*(500/1023);
- Serial.print ("Stanza 1: ");
- Serial.print (temp);
- Serial.print ("° C");
- Serial.println();
- delay(1000);
-}