0

Hi did i wrote anything wrong?it just keep saying return code is not 0

Anyone help me to fix this?? #include <dht.h> dht DHT; #define DHT11_PIN 7 void setup(){ Serial.begin(9600); } void loop() { int chk = DHT.read11(DHT11_PIN); Serial.print("Temperature = "); Serial.println(DHT.temperature) Serial.print("Humidity = "); Serial.println(DHT.humidity); delay(1000); }

31st Dec 2019, 3:29 PM
Shoon Ren Shyan
1 Answer
0
Semicolon on line 15?
3rd Jan 2020, 2:12 AM
Jakub Havlicek
Jakub Havlicek - avatar