lcd werks
This commit is contained in:
parent
d5e033bd70
commit
b342f29e45
1 changed files with 5 additions and 5 deletions
|
|
@ -86,15 +86,15 @@ async fn main(spawner: Spawner) {
|
|||
let edelay = &mut Delay;
|
||||
|
||||
let mut lcd: LcdDisplay<_, _> = LcdDisplay::new(
|
||||
Output::new(p.PIN_18, Level::Low),
|
||||
Output::new(p.PIN_19, Level::Low),
|
||||
Output::new(p.PIN_14, Level::Low),
|
||||
Output::new(p.PIN_15, Level::Low),
|
||||
edelay,
|
||||
)
|
||||
.with_half_bus(
|
||||
Output::new(p.PIN_10, Level::Low),
|
||||
Output::new(p.PIN_11, Level::Low),
|
||||
Output::new(p.PIN_12, Level::Low),
|
||||
Output::new(p.PIN_13, Level::Low),
|
||||
Output::new(p.PIN_14, Level::Low),
|
||||
Output::new(p.PIN_15, Level::Low),
|
||||
Output::new(p.PIN_16, Level::Low),
|
||||
)
|
||||
.with_display(Display::On)
|
||||
.with_blink(Blink::On)
|
||||
|
|
|
|||
Loading…
Reference in a new issue