MTM PPO mbed cz3
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
Diff: Keyboard_Ts.h
- Revision:
- 2:ce9137eb0655
- Parent:
- 1:3f9eb24c51b2
--- a/Keyboard_Ts.h Mon May 11 09:27:05 2020 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -#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 \ No newline at end of file