User Tools

Site Tools


openhw:arduino:εξαρτήματα:αισθητήρες:θερμοκρασίας:tmp36

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
openhw:arduino:εξαρτήματα:αισθητήρες:θερμοκρασίας:tmp36 [2026/06/12 18:01] alexandrospropenhw:arduino:εξαρτήματα:αισθητήρες:θερμοκρασίας:tmp36 [2026/06/12 18:03] (current) – [Πρόσβαση από το Sketch] alexandrospr
Line 49: Line 49:
  
 void setup() { void setup() {
-  // Begin serial communication at 9600 baud rate+  // Ξεκινάμε επικοινωνία με την κονσόλα του IDE.
   Serial.begin(9600);   Serial.begin(9600);
 } }
Line 64: Line 64:
  
   // Εμφάνιση της θερμοκρασίας σε Κελσίου   // Εμφάνιση της θερμοκρασίας σε Κελσίου
-  Serial.print("Temperature: ");+  Serial.print("θερμοκρασία: ");
   Serial.print(temperatureC);   Serial.print(temperatureC);
-  Serial.print("\xC2\xB0"); // shows degree symbol+  Serial.print("\xC2\xB0"); // σύμβολο θερμοκρασίας
   Serial.print(" |  ");   Serial.print(" |  ");
      
  
-  delay(1000); // wait a second between readings+  delay(1000); // αναμονή ενός δευτερολέπτου πριν νέα ανάγνωση τιμής
 } }
 } }
openhw/arduino/εξαρτήματα/αισθητήρες/θερμοκρασίας/tmp36.1781287288.txt.gz · Last modified: by alexandrospr

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki