Browse code

Add source code of the firmware for the IO Board

Pawel Jablonski authored on 05/06/2023 17:01:27
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,26 @@
1
+/*
2
+ * Author: Pawel Jablonski
3
+ * E-mail: pj@xirx.net
4
+ * WWW: xirx.net
5
+ * GIT: git.xirx.net
6
+ *
7
+ * License: You can use this code however you like
8
+ * but leave information about the original author.
9
+ * Code is free for non-commercial and commercial use.
10
+ */
11
+
12
+#ifndef _KEYBOARD_H
13
+#define _KEYBOARD_H
14
+
15
+#include "type.h"
16
+
17
+#define KEYBOARD_FIRE_DELAY 50 //!< Delay between checking status of the keyboard input
18
+
19
+void keyboardInit(void);
20
+void keyboardFire(void);
21
+
22
+unsigned char keyboardGetKey(void);
23
+
24
+bool keyboardIsData(void);
25
+
26
+#endif