aboutsummaryrefslogtreecommitdiffstats
path: root/Lab3.X/numpad.h
diff options
context:
space:
mode:
Diffstat (limited to 'Lab3.X/numpad.h')
-rw-r--r--Lab3.X/numpad.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Lab3.X/numpad.h b/Lab3.X/numpad.h
new file mode 100644
index 0000000..d94bf42
--- /dev/null
+++ b/Lab3.X/numpad.h
@@ -0,0 +1,18 @@
+#ifndef NUMPAD_H
+#define NUMPAD_H
+
+#include <xc.h> // include processor files - each processor file is guarded.
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+ // Insert declarations
+ void initKeyPad(void);
+ unsigned int readKeyPadRAW(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif \ No newline at end of file