diff options
Diffstat (limited to 'main.ino')
-rw-r--r-- | main.ino | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |