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