@@ -184,6 +184,26 @@ void SERIAL_ECHO(T arg1, Args ... args) { SERIAL_ECHO(arg1); SERIAL_ECHO(args ..
184
184
template <typename T, typename ... Args>
185
185
void SERIAL_ECHOLN (T arg1, Args ... args) { SERIAL_ECHO (arg1); SERIAL_ECHO (args ...); SERIAL_EOL (); }
186
186
187
+ // // Print a single PROGMEM string
188
+ // template <typename T>
189
+ // void SERIAL_ECHOPGM_P(T pstr) { SERIAL_ECHO_P(pstr); }
190
+ // // Print a PROGMEM string, plus an arg, plus more
191
+ // template <typename T>
192
+ // void SERIAL_ECHOPGM_P(PGM_P pstr, T arg1) { SERIAL_ECHO_P(pstr); SERIAL_ECHO(arg1); }
193
+ // // Print a PROGMEM string, plus an arg, plus more
194
+ // template <typename T, typename ... Args>
195
+ // void SERIAL_ECHOPGM_P(PGM_P pstr, T arg1, Args ... args) { SERIAL_ECHO_P(pstr); SERIAL_ECHO(arg1); SERIAL_ECHOPGM_P(args ...); }
196
+
197
+ // // Print a single PROGMEM string
198
+ // template <typename T>
199
+ // void SERIAL_ECHOLNPGM_P(T pstr) { SERIAL_ECHOLN_P(pstr); }
200
+ // // Print a PROGMEM string, plus an arg, plus more
201
+ // template <typename T>
202
+ // void SERIAL_ECHOLNPGM_P(PGM_P pstr, T arg1) { SERIAL_ECHO_P(pstr); SERIAL_ECHO(arg1); SERIAL_EOL(); }
203
+ // // Print a PROGMEM string, plus an arg, plus more
204
+ // template <typename T, typename ... Args>
205
+ // void SERIAL_ECHOLNPGM_P(PGM_P pstr, T arg1, Args ... args) { SERIAL_ECHO_P(pstr); SERIAL_ECHO(arg1); SERIAL_ECHOLNPGM_P(args ...); }
206
+
187
207
//
188
208
// SERIAL_ECHOPGM... macros are used to output string-value pairs, wrapping
189
209
// all the odd loose string elements as PROGMEM strings.
0 commit comments