We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dce241d commit 7dfd03bCopy full SHA for 7dfd03b
cores/arduino/Print.h
@@ -68,6 +68,13 @@ class Print {
68
return write((const uint8_t *)buffer, size);
69
}
70
71
+ // default to zero, meaning "a single write may block"
72
+ // should be overriden by subclasses with buffering
73
+ virtual int availableForWrite()
74
+ {
75
+ return 0;
76
+ }
77
+
78
size_t print(const __FlashStringHelper *);
79
size_t print(const String &);
80
size_t print(const char[]);
0 commit comments