Finally got FreeRTOS working thank FUCK!
This commit is contained in:
+3
-3
@@ -1,11 +1,11 @@
|
||||
#include <pico/stdlib.h>
|
||||
#include <FreeRTOS.h>
|
||||
#include "FreeRTOS.h"
|
||||
#include <task.h>
|
||||
|
||||
void vBlinkTask() {
|
||||
void vBlinkTask(void* x) {
|
||||
for (;;) {
|
||||
gpio_put(PICO_DEFAULT_LED_PIN, 1);
|
||||
vTaskDelay(250);
|
||||
vTaskDelay(500);
|
||||
gpio_put(PICO_DEFAULT_LED_PIN, 0);
|
||||
vTaskDelay(250);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user