Permalink
14 lines (12 sloc)
242 Bytes
|
#include <stdio.h> |
|
#include "freertos/FreeRTOS.h" |
|
#include "freertos/task.h" |
|
|
|
|
|
void app_main(void) |
|
{ |
|
int i = 0; |
|
while (1) { |
|
printf("[%d] Hello world!\n", i); |
|
i++; |
|
vTaskDelay(5000 / portTICK_PERIOD_MS); |
|
} |
|
} |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.