Examples

2023年2月27日

软件定时器实现-方法1

摘要: 本文介绍了软件定时器的一种实现方法,该方法摘自git上面的实现,具体链接忘了。 缺点:使用起来比较复杂, 如果需要再次触发, 需要重新设置。 方法如下: //multi_timer.c#include "multi_timer.h" #include <stdio.h> /* Timer handl 阅读全文

posted @ 2023-02-27 18:00 足各火丁 阅读(67) 评论(0) 推荐(0) 编辑

导航

Examples