在main函数中创建两个线程。 tid1 = rt_thread_create("iwdg", iwdg_thread_entry, RT_NULL, THREAD_STACK_SIZE, THREAD_PRIORITY, THREAD_TIMESLICE); if(tid1!= RT_NULL) { rt_thread_startup(tid1); } tid2= rt_thread_create("led", led_thread_entry, RT_NULL, THREAD_STACK_SIZE, THREAD_P...
19 https://www.mydigit.cn/forum.php?mod=viewthread&tid=448934&page=1#pid16505189 这里有 Coba ...