4 errors
Dependencies: KS0108_PCF8574 mbed
menbedButtonEvent.h
00001 #ifndef _MENBEDBUTTONEVENT_H_ 00002 #define _MENBEDBUTTONEVENT_H_ 00003 00004 #include "mbed.h" 00005 00006 class MenbedButtonEvent { 00007 public: 00008 enum ButtonName { 00009 ButtonSelect, 00010 ButtonDown, 00011 ButtonUp, 00012 ButtonCancel }; 00013 00014 enum ButtonAction { 00015 BUTTON_ACTION_PUSHED, 00016 BUTTON_ACTION_RELEASED_SHORT, 00017 BUTTON_ACTION_RELEASED_LONG, 00018 BUTTON_ACTION_HELD_LONG }; 00019 00020 ButtonName name; 00021 ButtonAction action; 00022 uint8_t numButtons; 00023 }; 00024 00025 #endif /* _MENBEDBUTTONEVENT_H_ */
Generated on Fri Jul 15 2022 01:44:50 by 1.7.2