Some more work on Hal Arduino sensor. issue 18

This commit is contained in:
Ziver Koc 2016-02-24 14:37:48 +01:00
parent 050addfa31
commit c9a030774b
8 changed files with 128 additions and 33 deletions

View file

@ -1,4 +1,16 @@
#ifndef HARDWAREPHOTOCELL_H
#define HARDWAREPHOTOCELL_H
class HardwarePhotocell : public HardwarePowerConsumption
{
public:
virtual void setup();
virtual unsigned int getConsumption();
virtual void reset();
private:
unsigned int pulse;
}
#endif // HARDWAREPHOTOCELL_H