changed variable names for coding conventions
This commit is contained in:
@@ -8,15 +8,15 @@ void setup() {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
float hoomid = dht11.readHumidity();
|
||||
float temp = dht11.readTemperature();
|
||||
float humidity = dht11.readHumidity();
|
||||
float temperature = dht11.readTemperature();
|
||||
|
||||
|
||||
Serial.print("temparatuur celcius: ");
|
||||
Serial.println(temp);
|
||||
Serial.println(temperature);
|
||||
|
||||
Serial.print("vochtigheid: ");
|
||||
Serial.println(hoomid);
|
||||
Serial.println(humidity);
|
||||
|
||||
delay(2000);
|
||||
}
|
Reference in New Issue
Block a user