Files
espurna/code
Maxim Prokhorov 6c382d7259 dallas: per-device sensor instance
ref. #2543
search the bus preemptively and create sensor instances based on that
more clean-up for error handling, allow specific device to fail independently

most of the sensor was re-written
- general one-wire operations are part of the system driver now
- split class definitions for digital and temperature sensors
- system timer instead of polling, enforce ordering by forcing specific
  instance to handle conversion request, while notifying every other ones
- synchronize readings and conversion requests with the sensor reading
  interval, instead of relying on internal polling. now, it happens
  right after begin() and pre() instead of previosly (almost) random tick() calls
- auto-detect conversion time based on device resolution / resolution setting

initialization also adds runtime settings (read on boot)
- `dallasPin` to set current one-wire pin
- `dallasParasite` to change from non-powered mode (default is still on)
- `dallasResolution` to force sensor to be operated using 9...12bit res
  (0 to keep default one)
2024-03-19 19:51:53 +03:00
..
2024-03-19 19:51:35 +03:00
2022-05-05 17:50:21 +03:00
2024-02-08 22:17:38 +03:00
2019-07-11 00:34:17 +03:00
2022-09-23 06:09:58 +03:00
2023-03-27 20:23:41 +03:00
2019-07-11 00:34:17 +03:00