println

Macro println 

Source
macro_rules! println {
    () => { ... };
    ($fmt:expr) => { ... };
    ($fmt:expr, $($arg:tt)*) => { ... };
}
Expand description

Prints formatted text to UART with a newline (\r\n).

This macro is only available in no-std mode. In std mode, use the standard println! macro.

§Examples

use osal_rs::println;
 
println!("Hello World");
println!("Value: {}", 42);
println!();  // Just a newline