Dev-Tools/HIB.h
2016-11-06 11:03:06 +01:00

18 lines
307 B
C++

#pragma once
#include "Arduino.h"
extern "C" {
#include "osapi.h"
}
// Human Interface Button
class HIB {
private:
public:
HIB(uint8_t pin, uint8_t initialState, int longPressMsec = 5000);
HIB();
void configure(uint8_t pin, uint8_t initialState, int longPressMsec = 5000);
};
extern HIB Hib;