This commit is contained in:
Scott Bezek
2021-10-24 22:23:05 -07:00
parent bbc51702ff
commit 0b5785ecf3
10 changed files with 431 additions and 80 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include <Arduino.h>
#include "motor_task.h"
#include "task.h"
class InterfaceTask : public Task<InterfaceTask> {
friend class Task<InterfaceTask>; // Allow base Task to invoke protected run()
public:
InterfaceTask(const uint8_t task_core, MotorTask& motor_task);
~InterfaceTask();
protected:
void run();
private:
MotorTask& motor_task_;
};