blob: 67c0a8d0fb8d769254f850c8d275d10fbd371d7b (
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", 64, NULL, 1, NULL);
vTaskStartScheduler();
}
|