ESP IDF Robot

This commit is contained in:
2024-12-21 23:47:24 -05:00
parent d58327fd35
commit 09972a7750

View File

@@ -138,6 +138,9 @@ void app_main(void)
io_conf.pull_up_en = 1;
gpio_config(&io_conf);
// Set pin interrupt
gpio_set_intr_type(PUSH_BTN_GPIO, GPIO_INTR_ANYEDGE);
configure_button();
while (1) {