Skip to content

Commit

Permalink
fix: Wokwi simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Aug 2, 2024
1 parent d28265f commit 015cd3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/button-interrupt.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 1
author: Sergio Gasquez Arcos

steps:
- wait-serial: " GPIO[9]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 "
- wait-serial: "Hello world!"
# Press once
- set-control:
part-id: btn1
Expand Down
3 changes: 3 additions & 0 deletions advanced/button-interrupt/examples/solution_led.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ fn main() -> Result<()> {
})?;
}

println!("Hello world!");


// ANCHOR: loop
loop {
// Enable interrupt and wait for new notificaton
Expand Down

0 comments on commit 015cd3d

Please sign in to comment.