Pascal Serrarens f2f942d084 Refactoring
2025-02-28 15:01:23 +01:00

19 lines
364 B
C++

#pragma once
#include "Sensors/TouchSensor.h"
namespace RoboidControl {
namespace Arduino {
class DigitalInput : public TouchSensor {
public:
DigitalInput(Participant* participant, unsigned char pin);
virtual void Update(unsigned long currentTimeMs) override;
protected:
unsigned char pin = 0;
};
} // namespace Arduino
} // namespace RoboidControl