This commit is contained in:
Anthony Wang 2022-02-11 12:09:13 -06:00
parent aeb07c9c25
commit 6a32a6ec29
Signed by: exogit
GPG key ID: 1DDC6BC38786C595

View file

@ -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);
}