change setup

This commit is contained in:
Mirabellensaft 2023-02-21 14:18:57 +01:00
parent 5f8e4b1223
commit f21124a304

View file

@ -1,7 +1,6 @@
//! Hardware Abstraction Layer (HAL) for the nRF52840 Development Kit
//! Board Support Crate (BSC) for the nRF52840 Development Kit
#![deny(missing_docs)]
#![deny(warnings)]
#![no_std]
use core::{
@ -13,9 +12,12 @@ use core::{
use cortex_m::asm;
use embedded_hal::digital::v2::{OutputPin as _, StatefulOutputPin};
use nrf52840_hal as hal;
pub use hal::pac::{
UARTE1, uarte0::{
baudrate::BAUDRATE_A as Baudrate, config::PARITY_A as Parity}};
use hal::{
gpio::{p0, Level, Output, Input, PullUp, Pin, Port, PushPull},
timer::OneShot, prelude::InputPin,