You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Argh. I'll have a look at this later today. So you're saying that some 1v46 Espruino Boards work and some don't?

    This is almost certainly an issue with the switch to using the RTC. OneWire support uses software to produce/read the signal. On startup the Espruino calibrates itself against the RTC but perhaps the internal oscillator hasn't settled down enough to produce an accurate reading at that point.

    @Frida: Sadly the internal RC oscillator used for the RTC is only ~2% accurate. I've been looking at ways to calibrate it using the high speed oscillator as a guide, but that's relatively low priority at the moment.

    Sorry about this - I actually gave a talk using the DS18B20 and the latest version of Espruino on wednesday, so I'm amazed this didn't come up then.

About

Avatar for Gordon @Gordon started