8000 Add gpio initialization · freesources/source-code-examples@17e6530 · GitHub
[go: up one dir, main page]

Skip to content

Commit 17e6530

Browse files
committed
Add gpio initialization
1 parent a1ef21c commit 17e6530

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

interrupt_example/user/user_main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ void ICACHE_FLASH_ATTR user_init()
5151
" 3.- Connect GPIO0 to ground to increment count edge\r\n"
5252
);
5353

54+
// Initialize the GPIO subsystem.
55+
gpio_init();
56+
5457
// =================================================
5558
// Initialize GPIO2 and GPIO0 as GPIO
5659
// =================================================

0 commit comments

Comments
 (0)
0