Browse Source

slowing down the temp system

tth 1 year ago
parent
commit
23a8881b5c
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      simulator/rdtemp/rdtemp.ino

+ 2
- 1
simulator/rdtemp/rdtemp.ino View File

@@ -12,6 +12,7 @@ int   values[NBVAL];
12 12
 void setup() {
13 13
   Serial.begin(9600);
14 14
   pinMode(LED_BUILTIN, OUTPUT);
15
+  Serial.print("\n");
15 16
   delay(2000);
16 17
 }
17 18
 /* -------------------------------------------------- */
@@ -20,7 +21,7 @@ void updatevalues(void)
20 21
   int foo;
21 22
   for (foo=0; foo<NBVAL; foo++) {
22 23
     values[foo] = analogRead(A0);
23
-    delay(50);
24
+    delay(500);
24 25
    }
25 26
 }
26 27
 /* -------------------------------------------------- */

Loading…
Cancel
Save