mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-18 05:57:43 +00:00
switch_1 and switch_2
This commit is contained in:
@@ -113,6 +113,7 @@ void app_driver_init()
|
||||
.mode = GPIO_MODE_OUTPUT,
|
||||
.pull_up_en = 1,
|
||||
};
|
||||
// Bit mask to configure output GPIOs
|
||||
io_conf.pin_bit_mask = ((uint64_t)1 << OUTPUT_GPIO);
|
||||
/* Configure the GPIO */
|
||||
gpio_config(&io_conf);
|
||||
|
Reference in New Issue
Block a user