hal/arduino/HalMultiSensor/SensorPhotocell.h

20 lines
327 B
C
Raw Normal View History

#ifndef SensorPhotocell_H
#define SensorPhotocell_H
2016-02-24 21:51:16 +01:00
#include "HalInterfaces.h"
#include "Interrupt.h"
2016-02-24 21:51:16 +01:00
class SensorPhotocell : public SensorPowerConsumption
{
public:
virtual void setup();
2016-05-10 16:04:39 +02:00
virtual void read(PowerData& data);
virtual void reset();
private:
unsigned int pulse;
2016-02-24 21:51:16 +01:00
};
#endif // SensorPhotocell_H