Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* button.h */
- #ifndef BUTTON_H
- #define BUTTON_H
- typedef enum {BUTTON_PRESSED, BUTTON_RELEASED} button_state_t;
- void button_init(void);
- button_state_t button_get(void);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement