We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cccde45 commit 7207593Copy full SHA for 7207593
gpio/hello_gpio_irq/hello_gpio_irq.c
@@ -23,6 +23,7 @@ int main() {
23
stdio_init_all();
24
25
printf("Hello GPIO IRQ\n");
26
+ gpio_init(2);
27
gpio_set_irq_enabled_with_callback(2, GPIO_IRQ_EDGE_RISE | GPIO_IRQ_EDGE_FALL, true, &gpio_callback);
28
29
// Wait forever
0 commit comments