From c2e823dfb568d2d5e588f49534d0886b88b60ae9 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 13 Oct 2025 21:09:06 +0200 Subject: [PATCH] Use 10 kOhm for NTC voltage divider --- barista/ntc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barista/ntc.c b/barista/ntc.c index 4d7c287..25f8f7e 100644 --- a/barista/ntc.c +++ b/barista/ntc.c @@ -37,7 +37,7 @@ ntc_temp(float R) float ntc_resistance(int Vo) { - float R1 = 6.8e3; /* Resistor for voltage divider */ + float R1 = 10.0e3; /* Resistor for voltage divider */ float R2 = R1 * (1023.0 / (float)Vo - 1.0); return R2;