diff options
author | Anthony Wang | 2022-02-11 12:09:13 -0600 |
---|---|---|
committer | Anthony Wang | 2022-02-11 12:09:13 -0600 |
commit | 6a32a6ec293ebdefab104d24bd4b0a0c764c7d8a (patch) | |
tree | 9fc199bb1d61581e43d59dc5cab40fb3f23b00fd | |
parent | aeb07c9c25811c4b9cb9725a524d82819d694248 (diff) |
Typo
-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); } |