We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d28265f commit 657c438Copy full SHA for 657c438
.github/button-interrupt.test.yaml
@@ -3,15 +3,15 @@ version: 1
3
author: Sergio Gasquez Arcos
4
5
steps:
6
- - wait-serial: " GPIO[9]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 "
+ - wait-serial: "Hello world!"
7
# Press once
8
- set-control:
9
part-id: btn1
10
control: pressed
11
- value: 1
+ value: 0
12
- delay: 100ms
13
14
15
16
- value: 0
+ value: 1
17
- wait-serial: "Button pressed!"
advanced/button-interrupt/examples/solution_led.rs
@@ -35,6 +35,9 @@ fn main() -> Result<()> {
35
})?;
36
}
37
38
+ println!("Hello world!");
39
+
40
41
// ANCHOR: loop
42
loop {
43
// Enable interrupt and wait for new notificaton
0 commit comments