mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 14:20:16 +00:00
ESP IDF Robot
This commit is contained in:
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
@@ -144,7 +144,7 @@ void app_main(void)
|
|||||||
gpio_config(&io_conf);
|
gpio_config(&io_conf);
|
||||||
|
|
||||||
// Set pin interrupt
|
// Set pin interrupt
|
||||||
gpio_set_intr_type(PUSH_BTN_GPIO, GPIO_INTR_ANYEDGE);
|
gpio_set_intr_type(PUSH_BTN_GPIO, GPIO_INTR_NEGEDGE);//ANYEDGE);
|
||||||
gpio_evt_queue = xQueueCreate(10, sizeof(uint32_t));
|
gpio_evt_queue = xQueueCreate(10, sizeof(uint32_t));
|
||||||
xTaskCreate(gpio_task, "GPIO task", 2048, NULL, 10, NULL);
|
xTaskCreate(gpio_task, "GPIO task", 2048, NULL, 10, NULL);
|
||||||
gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT);
|
gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT);
|
||||||
|
Reference in New Issue
Block a user