From de372c220554cf67c4cf99918d53bacb006b168e Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Fri, 29 May 2026 21:10:41 +0200 Subject: [PATCH] note in LUT comment --- fw/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fw/main.c b/fw/main.c index f755ca5..4cbe34b 100644 --- a/fw/main.c +++ b/fw/main.c @@ -15,7 +15,8 @@ // constants // LUT for converting NTC readings to degrees celsius -// Nominal: 1kOhm, Beta: 3380, Step: 64 +// Nominal: 10kOhm, Beta: 3380, Step: 64 +// TODO: Add a fixed offset to account for toollerances const uint8_t ntc_step_size = 64; const int16_t ntc_lut[] = { 1316, 197, 155, 133, 119, 108, 100, 93, 87, 82, 77, 73, 69, 66, 63, 60,