BasicButton.h 323 B

1234567891011121314151617181920212223242526
  1. /*
  2. * BasicButton.h
  3. *
  4. * Created: 18/11/2014 19:33:02
  5. * Author: Richard
  6. */
  7. #include <Button.h>
  8. #ifndef BASICBUTTON_H_
  9. #define BASICBUTTON_H_
  10. class BasicButton : public Button{
  11. private:
  12. uint8_t _pin;
  13. protected:
  14. boolean _update_button_state();
  15. public:
  16. BasicButton(uint8_t);
  17. };
  18. #endif /* BASICBUTTON_H_ */