Skip to content

Commit

Permalink
Update Print.h
Browse files Browse the repository at this point in the history
Added printf
size_t printf(const char[], ...);
  • Loading branch information
bonezegei authored Mar 12, 2024
1 parent 6309212 commit 20c26bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cores/arduino/Print.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ class Print
size_t println(const Printable&);
size_t println(void);

size_t printf(const char[], ...); //added by bonezegei

virtual void flush() { /* Empty implementation for backward compatibility */ }
};

Expand Down

0 comments on commit 20c26bc

Please sign in to comment.