#ifndef TASKS_H #define TASKS_H #include "freertos/idf_additions.h" #include /* * This file exports all the individual tasks, avoiding tons of semi-empty headers. */ #define LED_PIN 2 #define RATE_PER_S 10 #define BLINK_DELAY (1000 / 2 / RATE_PER_S) typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; typedef uint64_t u64; typedef int8_t s8; typedef int16_t s16; typedef int32_t s32; typedef int64_t s64; typedef float f32; typedef double f64; // typedef enum { false = 0, true = 1 } bool; typedef struct { u32 rate; } BlinkRate_t; void task_blink(void *pvParams); #endif