[][src]Macro drone_cortex_m::println

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

Prints to the ITM port #0, with a newline, if a debug probe is connected.

Use the format! syntax to write data to the standard output. See core::fmt for more information.

Use println! only for the primary output of your program. Use eprintln! instead to print error and progress messages.

Examples

use drone_cortex_m::println;

println!(); // prints just a newline
println!("hello there!");
println!("format {} arguments", "some");