First commit
This commit is contained in:
18
VT_ESP8266/include/pcf_butt.h
Normal file
18
VT_ESP8266/include/pcf_butt.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef __PCF_BUTT__
|
||||
#define __PCF_BUTT__
|
||||
|
||||
class pcf_butt
|
||||
{
|
||||
private:
|
||||
bool lastState;
|
||||
bool curState;
|
||||
public:
|
||||
pcf_butt();
|
||||
pcf_butt(bool state);
|
||||
void update(bool state);
|
||||
bool chngUp(bool state);
|
||||
bool chngDown(bool state);
|
||||
~pcf_butt();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user