cancel
Showing results for 
Search instead for 
Did you mean: 

How to display decimal value using BLE_HealthThermometer? - STM32WBA

Hsmann
Associate

Hi, i'm new to this but i would like to know if it was possible to display decimal temperature on the smartphone. I need to measure water temperature for a project and until now the best i can do is display integer number only.

I have a fonction in the main that can communicate with my temperature sensor and i write those result dirrectly in HTS_APP_Context.IntermediateTemperatureChar.MeasurementValue (hts_app.c file). The problem is that those number are uin32_t so I don't understand how to display decimal number.

Do you have any idea how to help me ? Thank you for your time.

0 REPLIES 0