macro_rules! println {
() => { ... };
($fmt:expr) => { ... };
($fmt:expr, $($arg:tt)*) => { ... };
}Expand description
Prints formatted text with a newline (\r\n).
In std mode this writes to standard output. In no_std mode this writes to UART.
ยงExamples
use osal_rs::println;
println!("Hello World");
println!("Value: {}", 42);
println!(); // Just a newline