aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Print.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-03-27 15:06:20 -0400
committerDavid A. Mellis <d.mellis@arduino.cc>2011-03-27 15:06:20 -0400
commitffe7bc53c1862866bf38e01174bd35d20632608c (patch)
treebf0e12629f37a0fa258b306ee7ba56a1358ac6be /cores/arduino/Print.h
parent99e642a26dc2a406cdfa2d43665f45749b63d5c8 (diff)
Adding F("foo") syntax for flash strings.
Diffstat (limited to 'cores/arduino/Print.h')
-rwxr-xr-xcores/arduino/Print.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cores/arduino/Print.h b/cores/arduino/Print.h
index c090636..a447753 100755
--- a/cores/arduino/Print.h
+++ b/cores/arduino/Print.h
@@ -40,6 +40,7 @@ class Print
virtual void write(const char *str);
virtual void write(const uint8_t *buffer, size_t size);
+ void print(const __FlashStringHelper *);
void print(const String &);
void print(const char[]);
void print(char);
@@ -50,6 +51,7 @@ class Print
void print(unsigned long, int = DEC);
void print(double, int = 2);
+ void println(const __FlashStringHelper *);
void println(const String &s);
void println(const char[]);
void println(char);