Redirecting stdout to Serial in Arduino
Some libraries (such as RF24) write all kind of debug and trace information to stdout. But the debugging option in Arduino is Serial.print alike. So we need to redirect everything written into stdout to Serial. Here is the code: [crayon-678b06d3adbe7632828263/] Source.