14 lines
351 B
Rust
14 lines
351 B
Rust
#![no_main]
|
|
#![no_std]
|
|
|
|
use template_microbit as _; // global logger + panicking-behavior + memory layout
|
|
|
|
#[cortex_m_rt::entry]
|
|
fn main() -> ! {
|
|
// value of the FREQUENCY register (nRF52840 device; RADIO peripheral)
|
|
let frequency: u32 = 276;
|
|
defmt::info!("FREQUENCY: {0=0..7}, MAP: {0=8..9}", frequency);
|
|
|
|
template_microbit::exit()
|
|
}
|