Skip to content

example doesn't compile on Arduino Nano #5

@gitterman

Description

@gitterman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions