23 lines
566 B
C
23 lines
566 B
C
|
#pragma once
|
||
|
|
||
|
#include <fsfw/controller/ExtendedControllerBase.h>
|
||
|
#include <mission/devices/devicedefinitions/Max31865Definitions.h>
|
||
|
|
||
|
class TemperatureSensorInserter : public ExecutableObjectIF, public SystemObject {
|
||
|
public:
|
||
|
TemperatureSensorInserter(object_id_t objectId);
|
||
|
|
||
|
ReturnValue_t initialize() override;
|
||
|
|
||
|
protected:
|
||
|
ReturnValue_t performOperation(uint8_t opCode) override;
|
||
|
|
||
|
private:
|
||
|
int iteration = 0;
|
||
|
float value = 0;
|
||
|
MAX31865::Max31865Set max31865PlocHeatspreaderSet;
|
||
|
MAX31865::Max31865Set max31865PlocMissionboardSet;
|
||
|
|
||
|
void noise();
|
||
|
};
|