EWMA icon indicating copy to clipboard operation
EWMA copied to clipboard

example doesn't compile on Arduino Nano

Open gitterman opened this issue 3 years ago • 0 comments

Arduino Nano compile does not have Serial.printf and even sprintf() does not have %f

FilteredADC:29:12: error: 'class HardwareSerial' has no member named 'printf'; did you mean 'print'? Serial.printf("Raw=%d, Filter1=%.3f, Filter2=%.3f", raw, filtered1, filtered2); ^~~~~~ print

gitterman avatar Jun 14 '21 18:06 gitterman