Arduino-OWI
Arduino-OWI copied to clipboard
Improve DS18B20 device driver
- Allow sensor polling instead of delay time based wait for conversion to complete.
- Allow relevant commands to be called without MATCH_ROM i.e. in SEARCH_ROM sequence.
- Add support for parasite powering of devices.
- 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();
1 and 2, see commit https://github.com/mikaelpatel/Arduino-OWI/commit/0e82888b635d4b92474f73f2b4e96f641f960995.