Skip to main content
Visitor II
Jun 20, 2023 7:56 AM UTC
Question

How to display decimal value using BLE_HealthThermometer? - STM32WBA

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.

This topic has been closed for replies.