mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 08:27:35 +00:00
ESP IDF Robot
This commit is contained in:
@@ -137,7 +137,7 @@ void app_main(void)
|
||||
io_conf.pull_up_en = 0;
|
||||
gpio_config(&io_conf);
|
||||
|
||||
io_conf.intr_type = GPIO_INTR_NEGEDGE;
|
||||
io_conf.intr_type = GPIO_INTR_POSEDGE;
|
||||
io_conf.pin_bit_mask = GPIO_INPUT_PIN_SEL;
|
||||
io_conf.mode = GPIO_MODE_INPUT;
|
||||
io_conf.pull_up_en = 1;
|
||||
|
Reference in New Issue
Block a user