
sa
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
Keyboard_Ts.h
- Committer:
- wierzba100
- Date:
- 2022-05-16
- Revision:
- 0:564bdd59fe99
File content as of revision 0:564bdd59fe99:
#ifndef __KEBOARDTS_H #define __KEBOARDTS_H #include "mbed.h" enum KeyboardState { RELASED, BUTTON_0, BUTTON_1, BUTTON_2, BUTTON_3 }; class KeyboardTs { public: KeyboardTs(unsigned char); enum KeyboardState eRead(void); private: unsigned char ucColumnPos; unsigned int uiXrange_start; unsigned int uiXrange_stop; }; #endif