HX711 Interface with STM32

I recently imported my program from the online complier to mbed stuido IDE. From the online compiler, I was able to read the load cell value using the HX711 interface. When I run the program on the IDE it is only reading the printf statement and not the weight.
what could be issue, because it did compile on the IDE with no errors.


without more information about MbedOS version (before and now) link to library what you use and so on, we can not help you correctly.

However I suppose the output is float value, so maybe you need to create the mbed_app.json file in your project with content below:

    "target_overrides": {
      "*": {
        "target.c_lib": "std",
        "target.printf_lib": "std"

BR, Jan