24 lines
484 B
C++
24 lines
484 B
C++
//
|
|
// Created by camer on 16/05/2020.
|
|
//
|
|
|
|
#ifndef PROJET_VICTORAVECUNK_EXTERNALDIGITALSENSORBUTTON_H
|
|
#define PROJET_VICTORAVECUNK_EXTERNALDIGITALSENSORBUTTON_H
|
|
|
|
|
|
#include "../DigitalDevice.h"
|
|
|
|
class ExternalDigitalSensorButton : public DigitalSensor{
|
|
private:
|
|
std::string PATH;
|
|
public:
|
|
ExternalDigitalSensorButton(int temps, std::string PATH);
|
|
|
|
int getState();
|
|
void setState();
|
|
|
|
virtual void run();
|
|
};
|
|
|
|
|
|
#endif //PROJET_VICTORAVECUNK_EXTERNALDIGITALSENSORBUTTON_H
|