TEMPERATURE_RESOLUTION(3so)

πŸ“¦ version 3.2_p4, in alpine 3.24, nixos 26.05, nixpkgs unstable

πŸŽ€ TEMPERATURE_RESOLUTION(3so) πŸŽ€

okay so bestie, we’re in TEMPERATURE_RESOLUTION(3so) and this page is lowkey short but highkey important πŸ’…

The device employs a non-volatile memory to store the default temperature resolution β€” 9, 10, 11, or 12 bits β€” and that’s the value it applies after power-up. This is useful if you use temperature conversions. ✨

  • reading this node β€” gives you the value stored in the non-volatile memory.
  • writing this node β€” sets a new power-on resolution value.
as a side effect, reading this node resets the temperature resolution used by temperature conversions to its power-on value 😭

It also affects the resolution value used by to scale the latest conversion value, so make sure to re-sample the temperature before accessing after writing or reading the value. fr fr, re-sample before you access β€” that’s the whole warning, don’t skip it 🫢


cute lil sign-off: the source/version and date footer wasn’t included on this page, so I’m not inventing them β€” big love from TEMPERATURE_RESOLUTION(3so) tho πŸ’–βœ¨

πŸ“¦ where this page comes from