mirror of
https://github.com/niesteszeck/idDHT11.git
synced 2025-03-15 04:27:29 +03:00
Adds timeout error messages for each new error code
This commit is contained in:
parent
e73b4fb665
commit
e15e40b20d
@ -47,8 +47,14 @@ void loop()
|
|||||||
case IDDHTLIB_ERROR_CHECKSUM:
|
case IDDHTLIB_ERROR_CHECKSUM:
|
||||||
Serial.println("Error\n\r\tChecksum error");
|
Serial.println("Error\n\r\tChecksum error");
|
||||||
break;
|
break;
|
||||||
case IDDHTLIB_ERROR_TIMEOUT:
|
case IDDHTLIB_ERROR_ISR_TIMEOUT:
|
||||||
Serial.println("Error\n\r\tTime out error");
|
Serial.println("Error\n\r\tISR Time out error");
|
||||||
|
break;
|
||||||
|
case IDDHTLIB_ERROR_RESPONSE_TIMEOUT:
|
||||||
|
Serial.println("Error\n\r\tResponse time out error");
|
||||||
|
break;
|
||||||
|
case IDDHTLIB_ERROR_DATA_TIMEOUT:
|
||||||
|
Serial.println("Error\n\r\tData time out error");
|
||||||
break;
|
break;
|
||||||
case IDDHTLIB_ERROR_ACQUIRING:
|
case IDDHTLIB_ERROR_ACQUIRING:
|
||||||
Serial.println("Error\n\r\tAcquiring");
|
Serial.println("Error\n\r\tAcquiring");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user