- 链接地址:https://blog.csdn.net/qq_35656655/article/details/121120607
- 链接标题:esp32-----定时器_vtaskdelay(5000 / porttick_period_ms);_被大佬糊弄的只会点灯的小菜鸡的博客-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:1111
一、周期性定时任务#include <stdio.h>#include "esp_types.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"#include "freertos/queue.h"#include "soc/timer_group_struct.h"#include "driver/periph_ctrl.h"#include "driver/timer.h"#define GPIO_L_vtaskdelay(5000 / porttick_period_ms);
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除