#![doc(html_root_url = "https://docs.rs/microbit-common/0.16.0")]
#![no_std]
#![deny(missing_docs)]
#![allow(non_camel_case_types)]
#[cfg(all(feature = "v1", feature = "v2"))]
compile_error!("canot build for microbit v1 and v2 at the same time");
#[cfg(feature = "v1")]
pub use nrf51_hal as hal;
#[cfg(feature = "v2")]
pub use nrf52833_hal as hal;
pub use hal::pac;
pub use hal::pac::Peripherals;
pub mod adc;
pub mod board;
pub mod display;
pub mod gpio;
pub use board::Board;
#[cfg(feature = "v1")]
mod v1;
#[cfg(feature = "v2")]
mod v2;