#![no_std]
#![no_main]
use panic_halt as _;
use ambiq_hal as hal;
use hal::prelude::*;
use cortex_m_rt::entry;
#[entry]
fn main() -> ! {
let perip = hal::pac::Peripherals::take().unwrap();
let pins1 = hal::gpio::Pins::new(perip.GPIO);
let _adc = perip.ADC;
let mut led = pins1.d13.into_push_pull_output();
loop {
led.toggle().unwrap();
}
}