diff options
author | RossTheRoss <msattr@gmail.com> | 2020-04-08 11:17:47 -0500 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2020-04-08 11:17:47 -0500 |
commit | f7dddf06297f415413760f3bedf00f7297e60cf7 (patch) | |
tree | 2a3008d3efcf7b140593b120ca925e1757e1d83c /Lab4.X/lab4_button.h | |
parent | e (diff) | |
download | ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.gz ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.bz2 ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.lz ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.xz ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.zst ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.zip |
Forget to add a bunch of things
oops
Diffstat (limited to '')
-rw-r--r-- | Lab4.X/lab4_button.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Lab4.X/lab4_button.h b/Lab4.X/lab4_button.h new file mode 100644 index 0000000..1001954 --- /dev/null +++ b/Lab4.X/lab4_button.h @@ -0,0 +1,18 @@ +#ifndef LAB4_BUTTON_H +#define LAB4_BUTTON_H + +#include <xc.h> // include processor files - each processor file is guarded. + + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + void initPushButton(void); + void addBuffer(unsigned long x); + unsigned long getBuffer(); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* LAB4_BUTTON_H */ + |