aboutsummaryrefslogtreecommitdiffstats
path: root/Lab4.X/lab4_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'Lab4.X/lab4_button.h')
-rw-r--r--Lab4.X/lab4_button.h18
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 */
+