Skip to content

Commit 657c438

Browse files
committed
fix: Wokwi simulation
1 parent d28265f commit 657c438

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/button-interrupt.test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ version: 1
33
author: Sergio Gasquez Arcos
44

55
steps:
6-
- wait-serial: " GPIO[9]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 "
6+
- wait-serial: "Hello world!"
77
# Press once
88
- set-control:
99
part-id: btn1
1010
control: pressed
11-
value: 1
11+
value: 0
1212
- delay: 100ms
1313
- set-control:
1414
part-id: btn1
1515
control: pressed
16-
value: 0
16+
value: 1
1717
- wait-serial: "Button pressed!"

advanced/button-interrupt/examples/solution_led.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ fn main() -> Result<()> {
3535
})?;
3636
}
3737

38+
println!("Hello world!");
39+
40+
3841
// ANCHOR: loop
3942
loop {
4043
// Enable interrupt and wait for new notificaton

0 commit comments

Comments
 (0)