9#ifndef FULLNESS_TASK_HPP
10#define FULLNESS_TASK_HPP
12#include "freertos/FreeRTOS.h"
13#include "freertos/queue.h"
14#include "freertos/task.h"
17#include "DistanceBuffer.hpp"
20#include <driver/gpio.h>
38 void start()
override;
48 static void taskFunction(
void *task);
68 QueueHandle_t &mMessageQueue;
Header file for Fullness class for an hcsr04.
Definition Distance.hpp:24
FullnessTask(QueueHandle_t &messageQueue)
Construct a new Fullness Task object.
Definition fullnessTask.cpp:36
void start() override
Start execution of Fullness Task.
Definition fullnessTask.cpp:42
Task(const char *name, const int priority, const uint32_t stackSize)
Construct a new Task object. Parameters are needed for FreeRTOS.
Definition task.hpp:31
Header file for Task class.