Library for reading temperature from DS1820, DS18B20 and DS1822

Dependencies:   LinkedList

Dependents:   heatmap BLE_Temperature BLE_Temperature_Exercise F334andDS18B20 ... more

Fork of DS1820 by David Pairman

Dont error out when OW bus fails.

Changes the `error` call to a `printf` because failing temperature sensors should not halt the system.

Also includes some changes to fix compiler warnings.

Fork to fix compiler warnings.

1 comment:

23 Mar 2018

During my testing , I saw that the error was called when the search_rom routine failed on line 171:

if (Bit_A & Bit_B) {

descrepancy_marker = 0; data read error, this should never happen

ROM_bit_index = 0xFF;

}

Just searching again works fine.