From 2dfb44907fef1d168f5f2b9fcf553887b3227d14 Mon Sep 17 00:00:00 2001 From: "DrZiplok@gmail.com" Date: Thu, 25 Nov 2010 01:55:21 +0000 Subject: [PATCH] Add a test case for printf_P git-svn-id: https://arducopter.googlecode.com/svn/trunk@918 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/FastSerial/examples/FastSerial/FastSerial.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/FastSerial/examples/FastSerial/FastSerial.pde b/libraries/FastSerial/examples/FastSerial/FastSerial.pde index 01381197cf..6e4421ee4b 100644 --- a/libraries/FastSerial/examples/FastSerial/FastSerial.pde +++ b/libraries/FastSerial/examples/FastSerial/FastSerial.pde @@ -45,6 +45,8 @@ void setup(void) Serial.println(1000, 16); Serial.println_P(PSTR("progmem")); Serial.printf("printf %d %u %#x %p %f %S\n", -1000, 1000, 1000, 1000, 1.2345, PSTR("progmem")); + Serial.printf_P(PSTR("printf_P %d %u %#x %p %f %S\n"), -1000, 1000, 1000, 1000, 1.2345, PSTR("progmem")); + Serial.println("done"); } void