32 #ifdef BIN // Prevent warnings if BIN is previously defined in "iotnx4.h" or similar 51 virtual size_t write(uint8_t) = 0;
53 if (str == NULL)
return 0;
54 return write((
const uint8_t *)str, strlen(str));
57 size_t write(
const char *buffer,
size_t size) {
58 return write((
const uint8_t *)buffer, size);
65 size_t print(
const __FlashStringHelper *);
66 size_t print(
const String &);
67 size_t print(
const char[]);
69 size_t print(
unsigned char,
int =
DEC);
71 size_t print(
unsigned int,
int =
DEC);
73 size_t print(
unsigned long,
int =
DEC);
74 size_t print(
double,
int = 2);
77 size_t println(
const __FlashStringHelper *);
86 size_t println(
double,
int = 2);
void setWriteError(int err=1)
size_t printNumber(unsigned long, uint8_t)
virtual size_t write(uint8_t)=0
size_t print(const __FlashStringHelper *)
size_t write(const char *str)
virtual int availableForWrite()
size_t write(const char *buffer, size_t size)
size_t printFloat(double, uint8_t)