Remove serial.print from library and update example error handling. Resolves issue #11 and #13.

This commit is contained in:
Tony DiCola
2014-06-02 13:03:27 -07:00
parent ffac2f15b7
commit ce05c3536c
2 changed files with 18 additions and 19 deletions

View File

@ -46,7 +46,6 @@ float DHT::readTemperature(bool S) {
return f;
}
}
Serial.print("Read fail");
return NAN;
}
@ -70,7 +69,6 @@ float DHT::readHumidity(void) {
return f;
}
}
Serial.print("Read fail");
return NAN;
}