Closed rnestler closed 4 years ago
In general, it works:
Initialization done
85.00 °C (Bits12), 26.16 °C, 58.41 %RH
25.12 °C (Bits12), 26.16 °C, 58.66 %RH
25.12 °C (Bits12), 26.16 °C, 59.05 %RH
...however that 85.00°C is probably a read error. IIRC the DS18B20 uses a CRC, is that being verified?
Furthermore, the sensor is only detected in release mode. In debug mode, it blocks when scanning. Maybe a timing problem?
Furthermore, the sensor is only detected in release mode. In debug mode, it blocks when scanning. Maybe a timing problem?
Hmm. Probably due to onewire timings being off / too slow :slightly_frowning_face:
@dbrgn Getting one-wire to run in the debug build will be hard, without just disabling all safety measures in debug build. I'm not sure if we should just merge this as is?
Yep, it's a clear improvement :)
IIRC the DS18B20 uses a CRC, is that being verified?
This would need to be fixed upstream.
Fixes #61