esp32---串口_esp32 串口中断_被大佬糊弄的只会点灯的小菜鸡的博客-CSDN博客

网站介绍:一、问题描述考虑这样一个串口通讯模型:主机通过串口向ESP32问询问题,ESP32接到后触发中断,在中断中,通过串口回答问题。二、代码实现#include <stdio.h>#include <string.h>#include "freertos/FreeRTOS.h"#include "freertos/task.h"#include "freertos/queue.h"#include "driver/uart.h"#include "esp_log._esp32 串口中断