DS1820 / OneWire library doesn't work on mbedos5, mbedos6 (NUCLEO-F303RE)

Hello 大 电,

There is an issue with the online compiler. To check/change the revision right-click on the mbed-os icon in your project and select Revisions.... The currently used revision is listed in bold. Select (click on) the last one (tag: mbed-os 6.2.1) and click on the switch button on the toolbar. Please update the DS1820 library in your project to the latest revision too. Also make sure a pull-up resistor is used as shown here. For additional info have a look at this Mbed OS 6.1+ bug?.

Best regards, Zoltan