From 1ee366f3b37d03df72afd78b9816d0c99796d973 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 27 Nov 2020 10:30:59 -0500 Subject: initial upload --- buttons.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 buttons.h (limited to 'buttons.h') diff --git a/buttons.h b/buttons.h new file mode 100644 index 0000000..bade3cf --- /dev/null +++ b/buttons.h @@ -0,0 +1,20 @@ +/** + * buttons.h - Provides ability to read button state. + * Copyright (C) 2020 Clyne Sullivan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * See the GNU General Public License for more details. + */ + +#ifndef BUTTONS_H_ +#define BUTTONS_H_ + +extern unsigned char button_state; + +void buttons_init(); + +#endif // BUTTONS_H_ + -- cgit v1.2.3