
MTM PPO mbed2d-2 program
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
Keyboard_Ts.h
- Committer:
- paweler
- Date:
- 2020-05-11
- Revision:
- 1:3f9eb24c51b2
- Parent:
- 0:528c126a5ac9
File content as of revision 1:3f9eb24c51b2:
#ifndef KEYBOARD_TS_H #define KEYBOARD_TS_H #include "TS_DISCO_F429ZI.h" enum eKeyboardTsState {BUTTON_0 , BUTTON_1 , BUTTON_2 , BUTTON_3, RELEASED}; class KeyboardTs{ public: KeyboardTs(unsigned char); enum eKeyboardTsState eRead(void); private: TS_DISCO_F429ZI ts; TS_StateTypeDef TS_State; unsigned char ucColumnIndex; }; #endif