blob: ed0dacdf7bb4b30ef22028497a15545b926ab7ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <FreeRTOS.h>
#include <task.h>
#include <stm32f0xx_hal.h>
#include "main.h"
#include "setup.h"
#include "sensor.h"
int main() {
ws_io_setup();
xTaskCreate(ws_sensor_read_task, "sensor", 128, NULL, 1, NULL);
vTaskStartScheduler();
}
|