mirror of
				https://github.com/niesteszeck/idDHT11.git
				synced 2025-10-30 06:34:02 +03:00 
			
		
		
		
	Adds timeout error messages for each new error code
This commit is contained in:
		| @@ -47,8 +47,14 @@ void loop() | ||||
|   case IDDHTLIB_ERROR_CHECKSUM:  | ||||
|     Serial.println("Error\n\r\tChecksum error");  | ||||
|     break; | ||||
|   case IDDHTLIB_ERROR_TIMEOUT:  | ||||
|     Serial.println("Error\n\r\tTime out error");  | ||||
|   case IDDHTLIB_ERROR_ISR_TIMEOUT:  | ||||
|     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; | ||||
|   case IDDHTLIB_ERROR_ACQUIRING:  | ||||
|     Serial.println("Error\n\r\tAcquiring");  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alex Gutowski
					Alex Gutowski