19 lines
412 B
Rust
19 lines
412 B
Rust
#![no_main]
|
|
#![no_std]
|
|
|
|
// global logger + panicking-behavior + memory layout
|
|
|
|
use microbit::board::Board;
|
|
use microbit::hal::gpio::Level::High;
|
|
|
|
#[cortex_m_rt::entry]
|
|
fn main() -> ! {
|
|
let board = Board::take().unwrap();
|
|
board.display_pins.col1.into_pulldown_input();
|
|
board.display_pins.row1.into_push_pull_output(High);
|
|
|
|
defmt::println!("Hello, world! freq ",);
|
|
|
|
template_microbit::exit()
|
|
}
|