#include #include #include #include "main.h" #include "setup.h" #include "sensor.h" I2C_HandleTypeDef hi2c2; UART_HandleTypeDef huart2; int main() { HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_USART2_UART_Init(); MX_I2C2_Init(); xTaskCreate(ws_sensor_read_task, "sensor", 128, NULL, 1, NULL); vTaskStartScheduler(); }