ZotBins Core
Loading...
Searching...
No Matches
Zotbins::WeightTask Class Reference

Task to measure current weight of the trash inside the bin using the HX711 and load cell. More...

#include <weightTask.hpp>

Inheritance diagram for Zotbins::WeightTask:
Inheritance graph

Public Member Functions

 WeightTask (QueueHandle_t &messageQueue)
 Construct a new Weight Task object.
 
void start () override
 Start execution of Weight Task.
 
- Public Member Functions inherited from Zotbins::Task
 Task (const char *name, const int priority, const uint32_t stackSize)
 Construct a new Task object. Parameters are needed for FreeRTOS.
 

Additional Inherited Members

- Protected Attributes inherited from Zotbins::Task
const char * mName
 Name of task.
 
const int mPriority
 Priority number of task.
 
const uint32_t mStackSize
 Task size of task.
 

Detailed Description

Task to measure current weight of the trash inside the bin using the HX711 and load cell.

Constructor & Destructor Documentation

◆ WeightTask()

WeightTask::WeightTask ( QueueHandle_t & messageQueue)
explicit

Construct a new Weight Task object.

Parameters
messageQueueMessage queue to WiFi Task

Member Function Documentation

◆ start()

void WeightTask::start ( )
overridevirtual

Start execution of Weight Task.

Implements Zotbins::Task.


The documentation for this class was generated from the following files: