
Mbed touchscreed project. To be corrected
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
Keyboard_Ts.h
- Committer:
- piotrlopata
- Date:
- 2020-05-11
- Revision:
- 4:35b2f0e76b02
- Parent:
- 1:55e05d2aa9cd
- Child:
- 7:982fb1421824
File content as of revision 4:35b2f0e76b02:
#ifndef KEYBOARD_TS_H #define KEYBOARD_TS_H #include "TS_DISCO_F429ZI.h" enum Buttons { BUTTON_0, BUTTON_1, BUTTON_2, BUTTON_3, NOT_A_BUTTON }; class KeyboardTs { private: uint16_t ColumnX; TS_DISCO_F429ZI ts; TS_StateTypeDef TS_State; public: KeyboardTs(uint16_t); Buttons eRead(void); }; #endif