Newer
Older
#ifndef _BUTTON_H_
#define _BUTTON_H_
#include <stdio.h>
class Button {
public:
Button();
Button(int pin);
~Button();
void SetPinMode();
bool GetState();
int GetPin();
private:
bool State;
int Pin;
};
#endif