![]() ![]() Serial.print // Output of the values via the serial interfaceĭelay(1000) // Pauses the program (in miliseconds there are 1000 milliseconds in a second.) This is necessary to have the value read out in the "serial monitor" display (In my Case I use Coolterm with 57600 baud): Start communication with the serial port. Void setup() // This is where setup begins #include // Add the DHT Sensor Library from the Arduino IDE Now I explain a litle bit more of that code and what I learned: ![]() Ausgabe der Daten über die serielle SchnittstelleĪt first it was important to add the source of my modificated code to the top of the sketch.įirst step is to add the DHT Sensor Library from the Arduino IDE: Serial.print("relative Luftfeuchtigkeit (%): ") Ausgabe über die serielle Schnittstelle Serial.print("Status: unbekannter Fehler,\t") Serial.print("Status: Time out error,\t") Serial.print("Status: Checksum error,\t") PURPOSE: DHT Temperature
0 Comments
Leave a Reply. |