Arduino FreeRTOS给任务传递参数
Arduino FreeRTOS给任务传递参数实例代码#include <Arduino_FreeRTOS.h>struct LED{ unsigned int time_on; unsigned int time_off; unsigned char pin;};struct LED led1={1500,2500,4};//不同的亮灯灭灯时间,以及对应的引脚struct LED led2={600,600,5};struct LED led3={800,1200,
复制链接