
Running the demonstration
UM1590
Doc ID 023892 Rev 1
Figure 45.
Warning temperature display 1
If the temperature exceeds the low limit (TEMPERATURE_LOW: Low Limit Temperature),
the SMBus alert interrupt is generated and the warning message shown in
displayed on the LCD screen.
Figure 46.
Warning temperature display 2
The user can configure the HIGH and LOW using dedicated define values in the code. By
default, the STM32303C-EVAL demonstration sets them to the value defined in the
thermometer.c file:
#define TEMPERATURE_LOW 0x14 /* 20°C */
#define TEMPERATURE_HIGH 0x28 /* 40°C */
Press KEY to return to the Thermometer submenu.
Note:
Any hardware problem with the temperature sensor is detected by a test. In such case, the
message shown in
is displayed.