Skip to content

General

Arnd edited this page Jul 14, 2017 · 1 revision

Arduino sketch to show some of the general functionality of the DSFamily library.

Compatibility

No special processor-dependent calls are used and thus this sketch should run on any of the Arduino systems. The serial port speed defaults to 115200 baud.

Function

All Maxim DS-Family thermometers on the 1-wire link are initialized and the resultant temperature readings are displayed on the serial port. The program then waits 10 seconds and re-runs the same code again with a lower precision setting. Once the minimum precision has been reached the program starts with the highest precision for the next run.