The DS1820, DS1822 and DS18B20 are one-wire temperature sensors with 9-12 bit resolution, which can operate using only two wires (ground and data).
The library shown above is simple in usage, however it does not allow for all features of the original library, which you can find here:
Dallas / Maxim DS1820 1-Wire library. For communication with multiple DS1820 on a single 1-Wire bus. Also supports DS18S20 and DS18B20. This fork fixes a timing problem I had with latest mbed library; allows immediate return from convert_temperature(); tidies up a few other things, including some documentation errors.
You need to log in to post a discussion
|DS1820, mbed DS1820 Helloworld fails when MBED is updated||19||
20 Jan 2019
2 years, 7 months ago