mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 07:16:08 +00:00
ESP IDF Robot
This commit is contained in:
@@ -89,6 +89,8 @@ static void configure_led(void)
|
||||
|
||||
static void configure_button (void) {
|
||||
ESP_LOGI(TAG, "Configured on-board push button");
|
||||
gpio_reset_pin(PUSH_BTN_GPIO);
|
||||
gpio_set_direction(PUSH_BTN_GPIO, GPIO_MODE_INPUT);
|
||||
}
|
||||
|
||||
#else
|
||||
|
Reference in New Issue
Block a user