Skip to content

New to SAMD21 - is there no Serial.printf? #457

@beegee-tokyo

Description

@beegee-tokyo

Maybe it's just me, but on other architectures I am have no problems using printf like

Serial.printf("\nLoRa begin failed %d\n", state);

But for SAMD21 it throws compile error

src\main.cpp:78:10: error: 'class Uart' has no member named 'printf'; did you mean 'print'?
   Serial.printf("\nLoRa begin failed %d\n\n", state);

Am I missing something

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions