hal/arduino/HalMultiSensor/SensorPhotocell.h

21 lines
345 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);
private:
2016-05-18 17:06:34 +02:00
static unsigned int pulse;
static void interruptHandler();
2016-02-24 21:51:16 +01:00
};
#endif // SensorPhotocell_H