Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 703 Bytes

ds18b20.rst

File metadata and controls

35 lines (24 loc) · 703 Bytes

DS18B20

About

Read and print the temperature measured with one or more DS18B20 sensors.



Source code

The source code can also be found on Github in the examples/ds18b20 folder.

Build and run

Build and run the application.

$ cd examples/ds18b20
$ make -s BOARD=<board> run
Number of sensors: 2
Device id: 28 9c 1d 5d 05 00 00 32, Temperature: 22.6250
Device id: 28 95 32 5d 05 00 00 33, Temperature: 22.6875