Relay and Thermo tasks

This commit is contained in:
CarlWachter
2024-03-11 14:41:56 +01:00
parent 505c1c3c0a
commit e1692d35b2
4 changed files with 161 additions and 24 deletions

29
App/Inc/tasks/relay.hpp Normal file
View File

@@ -0,0 +1,29 @@
/*
* can_task.hpp
*
* Created on: 10 Dec 2023
* Author: Carl
*/
#ifndef INC_TASKS_RELAYTASK_HPP_
#define INC_TASKS_RELAYTASK_HPP_
#include <sta/tacos/thread.hpp>
#include <sta/devices/stm32/can.hpp>
namespace tasks
{
class RelayTask : public sta::tacos::TacosThread {
public:
RelayTask(uint32_t canID);
void init() override;
void func() override;
private:
};
} // namespace demo
#endif /* INC_TASKS_RELAYTASK_HPP_ */