Arduino-OWI icon indicating copy to clipboard operation
Arduino-OWI copied to clipboard

Improve DS18B20 device driver

Open mikaelpatel opened this issue 7 years ago • 1 comments

  1. Allow sensor polling instead of delay time based wait for conversion to complete.
  2. Allow relevant commands to be called without MATCH_ROM i.e. in SEARCH_ROM sequence.
  3. Add support for parasite powering of devices.
  4. Refactor and add sensor collection level; i.e. DS18B20 would handle the sensor collection level and DS18B20::Device would handle the individual level.
DS18B20 sensor(owi);
sensor[0].temperature();

mikaelpatel avatar Oct 17 '17 21:10 mikaelpatel

1 and 2, see commit https://github.com/mikaelpatel/Arduino-OWI/commit/0e82888b635d4b92474f73f2b4e96f641f960995.

mikaelpatel avatar Oct 24 '17 13:10 mikaelpatel