From 5a7187ef79efc6333896a5869dcb9f2ab2316b82 Mon Sep 17 00:00:00 2001 From: Andrew McDonnell Date: Tue, 30 Jun 2015 22:58:42 +0930 Subject: [PATCH] Add reference on how to enable printf function --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 74b1372ad..e560b2910 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,8 @@ more than 20 milliseconds is not recommended. By default the diagnostic output from WiFi libraries is disabled when you call ```Serial.begin```. To enable debug output again, call ```Serial.setDebugOutput(true);```. To redirect debug output to ```Serial1``` instead, call ```Serial1.setDebugOutput(true);```. +You also need to use ```Serial.setDebugOutput(true)``` to enable the Arduinio ```printf()``` function. + Both ```Serial``` and ```Serial1``` objects support 5, 6, 7, 8 data bits, odd (O), even (E), and no (N) parity, and 1 or 2 stop bits. To set the desired mode, call ```Serial.begin(baudrate, SERIAL_8N1);```, ```Serial.begin(baudrate, SERIAL_6E2);```, etc. #### Progmem ####