Quick Look | |
---|---|
Hardware | (External hardware) |
Core | Print.h |
Print is an Internal Class used throughout various libraries such as HardwareSerial and SoftwareSerial as well as others.
The Print Class is an Internal Class which provides functions used to assist in printing of various data formats as ASCII characters. This class would not typically be used directly from your Arduino Sketch.
Name | Default Value | Description |
---|---|---|
BIN | 2 | Binary Base |
OCT | 8 | Octal Base |
DEC | 10 | Decimal Base |
HEX | 16 | Hexadecimal Base |
int getWriteError();
void clearWriteError();
size_t write(const char *str);
size_t write(const char *buffer, size_t size);
size_t print(const String &);
size_t print(const char[]);
size_t print(char);
size_t print(unsigned char, int = DEC);
size_t print(int, int = DEC);
size_t print(unsigned int, int = DEC);
size_t print(long, int = DEC);
size_t print(unsigned long, int = DEC);
size_t print(double, int = 2);
size_t print(const Printable&);
size_t println(const String &s);
size_t println(const char[]);
size_t println(char);
size_t println(unsigned char, int = DEC);
size_t println(int, int = DEC);
size_t println(unsigned int, int = DEC);
size_t println(long, int = DEC);
size_t println(unsigned long, int = DEC);
size_t println(double, int = 2);
size_t println(const Printable&);
size_t println(void);
size_t printf(const char *fmt, ...);
List some links to external resources, such as: