Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
Diff: Keyboard_Ts.h
- Revision:
- 0:aa756e4665e5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Keyboard_Ts.h Mon Jun 01 20:23:36 2020 +0000
@@ -0,0 +1,17 @@
+#ifndef KEYBOARD_TS_H
+#define KEYBOARD_TS_H
+#include "TS_DISCO_F429ZI.h"
+#include "LCD_DISCO_F429ZI.h"
+
+enum KeyboardState {BUTTON_0, BUTTON_1, BUTTON_2, BUTTON_3, NO_BUTTON_PRESSED};
+
+class KeyboardTs{
+ TS_DISCO_F429ZI TouchScreen;
+ TS_StateTypeDef TSState;
+ LCD_DISCO_F429ZI lcd;
+ unsigned char square_x_pos;
+ public:
+ KeyboardTs(unsigned char ucColumnNr);
+ enum KeyboardState eRead(void);
+};
+#endif
\ No newline at end of file