hal/arduino/HalMultiSensor/SensorPhotocell.h

21 lines
356 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();
virtual unsigned int getConsumption();
virtual void reset();
private:
2016-02-24 21:51:16 +01:00
Interrupt* interrupt;
unsigned int pulse;
2016-02-24 21:51:16 +01:00
};
#endif // SensorPhotocell_H