Search found 1 match

by gravity_john
Mon Oct 14, 2024 12:53 pm
Forum: ESP-IDF 中文讨论版
Topic: GPIO配置完之后调用gpio_set_level()没有生效
Replies: 0
Views: 243

GPIO配置完之后调用gpio_set_level()没有生效

#include "esp_log.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_spi_flash.h" #include "esp_partition.h" #include <driver/uart.h> #include <driver/gpio.h> #define PARTITION_NAME "MCU_OTA" #define uart_num UART_NUM_2 #define stm_boot_pin 13 #define stm_reset_pin 12 void a...