1Find the lab and add in project。

    Downtown  it from ST  official website。。compile it to ensure it passew 。

    

2 Coding function in you model.

 factory_func(void)  // factory mode ,Record previous Settings,and quick recovery。

 temper_func(void) // check the  temperature by NTC  sensor  ,base on  ADC 。

Key :  up, down , ok, back .and prog

LCD :show the time and  temperature.

..........

3 Hey ! It compiles ...

   

4 Burn to product and demo function。