The temperature measurement calculation is not correct in the LCDManager.c source file:
line 242:
LCD_WriteInt((uint8)((XDHT22__TEMPERATURE_VALUE - ((sint8)XDHT22__TEMPERATURE_VALUE)) * 10.0f));
The negativ value of the fraction is calculated wrongly.
The method has to use the absolute values:
(uint8)(( absf(XDHT22__TEMPERATURE_VALUE) - (uint8)absf(XDHT22__TEMPERATURE_VALUE) ) * 10.0f)
The temperature measurement calculation is not correct in the LCDManager.c source file:
line 242:
LCD_WriteInt((uint8)((XDHT22__TEMPERATURE_VALUE - ((sint8)XDHT22__TEMPERATURE_VALUE)) * 10.0f));
The negativ value of the fraction is calculated wrongly. The method has to use the absolute values:
(uint8)(( absf(XDHT22__TEMPERATURE_VALUE) - (uint8)absf(XDHT22__TEMPERATURE_VALUE) ) * 10.0f)