diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2011-03-27 15:06:20 -0400 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-03-27 15:06:20 -0400 |
commit | ffe7bc53c1862866bf38e01174bd35d20632608c (patch) | |
tree | bf0e12629f37a0fa258b306ee7ba56a1358ac6be /cores/arduino/Print.h | |
parent | 99e642a26dc2a406cdfa2d43665f45749b63d5c8 (diff) |
Adding F("foo") syntax for flash strings.
Diffstat (limited to 'cores/arduino/Print.h')
-rwxr-xr-x | cores/arduino/Print.h | 2 |
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); |