Elektrine lite

← Feed

@karotte@chaos.social

Post #1776923

2026-04-12 10:46 UTC

Minor detail about an ordinary LCD thermometer: It displays temperature with 0.1°C resolution and min/max temperature to 1°C. The lazy way of implementing min/max therefore would be rounding the displayed temperature to 1°C resolution and using that to accumulate min/max. However, it rounds down for min and up for max, so it's guaranteed that the temperature was actually between the displayed min/max readings. If it's 10.2°C and you reset it, min reads 10°C and max 11°C.

Replies (0)

No replies.