diff --git a/.github/button-interrupt.test.yaml b/.github/button-interrupt.test.yaml index ab31412a..a278cf47 100644 --- a/.github/button-interrupt.test.yaml +++ b/.github/button-interrupt.test.yaml @@ -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 diff --git a/advanced/button-interrupt/examples/solution_led.rs b/advanced/button-interrupt/examples/solution_led.rs index 0212f85f..2a81b561 100644 --- a/advanced/button-interrupt/examples/solution_led.rs +++ b/advanced/button-interrupt/examples/solution_led.rs @@ -35,6 +35,9 @@ fn main() -> Result<()> { })?; } + println!("Hello world!"); + + // ANCHOR: loop loop { // Enable interrupt and wait for new notificaton