aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Print.h
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/Print.h')
-rwxr-xr-xcores/arduino/Print.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cores/arduino/Print.h b/cores/arduino/Print.h
index 8a1e2b8..b092ae5 100755
--- a/cores/arduino/Print.h
+++ b/cores/arduino/Print.h
@@ -23,6 +23,8 @@
#include <inttypes.h>
#include <stdio.h> // for size_t
+#include "WString.h"
+
#define DEC 10
#define HEX 16
#define OCT 8
@@ -38,7 +40,8 @@ class Print
virtual void write(uint8_t) = 0;
virtual void write(const char *str);
virtual void write(const uint8_t *buffer, size_t size);
-
+
+ void print(const String &);
void print(const char[]);
void print(char, int = BYTE);
void print(unsigned char, int = BYTE);
@@ -48,6 +51,7 @@ class Print
void print(unsigned long, int = DEC);
void print(double, int = 2);
+ void println(const String &s);
void println(const char[]);
void println(char, int = BYTE);
void println(unsigned char, int = BYTE);