Skip to content

Commit 5012228

Browse files
committed
Merge pull request #492 from pastcompute/patch-1
Add reference on how to enable printf function
2 parents 0cc1925 + 5729bb8 commit 5012228

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ more than 20 milliseconds is not recommended.
8383

8484
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);```.
8585

86+
You also need to use ```Serial.setDebugOutput(true)``` to enable output from the Arduino ```printf()``` function.
87+
8688
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.
8789

8890
#### Progmem ####

0 commit comments

Comments
 (0)