a

Dependents:   2b

Revision:
0:1ef69e2e92e4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Keyboard_Ts.h	Sat Apr 23 17:42:21 2016 +0000
@@ -0,0 +1,18 @@
+#ifndef KEYBOARD_TS_H
+#define KEYBOARD_TS_H
+
+#include "TS_DISCO_F429ZI.h"
+
+enum KeyboardTsState { RELASED , BUTTON_0 , BUTTON_1 , BUTTON_2 , BUTTON_3 };
+
+class KeyboardTs{
+public:
+    KeyboardTs ();
+    enum KeyboardTsState eRead (void);
+private:
+    uint16_t x, y;
+    TS_DISCO_F429ZI ts;
+    TS_StateTypeDef TS_State;
+};
+
+#endif
\ No newline at end of file