From 6a32a6ec293ebdefab104d24bd4b0a0c764c7d8a Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Fri, 11 Feb 2022 12:09:13 -0600 Subject: Typo --- main.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ino b/main.ino index 694f8a3..0bc54d2 100644 --- a/main.ino +++ b/main.ino @@ -61,6 +61,6 @@ void setup() { void loop() { v = a2d(analogRead(THERM)); c = 0; - for (int i = n; i >= 0; --i) c = v*c + coeff[i]; + for (int i = order; i >= 0; --i) c = v*c + coeff[i]; Serial.println(c); } -- cgit v1.2.3-70-g09d2