It seems the problem is not any DS1820 library but about the BSP library is not friendly with Mbed’s delay functions/methods (thread_sleep_for(ms); ThisThread::sleep_for(ms);
) and the HAL_Delay(ms);
must be used. Maybe someone clever could explain this to us.
However you can try to import this example DISCO-F746NG_OneWire .
BR, Jan