Aa
Dependents: EMBEED_III_zad_4 mbed3 mbed_3 MBED3_zad4
Keyboard.h
- Committer:
- krzysiek99
- Date:
- 2020-06-13
- Revision:
- 1:374a3d1fe780
File content as of revision 1:374a3d1fe780:
#ifndef KEYBOARD_H #define KEYBOARD_H #include "TS_DISCO_F429ZI.h" enum KeyboardState { BUTTON_0 = 0, BUTTON_1 = 1, BUTTON_2 = 2, BUTTON_3 = 3, RELEASED = 4 }; class Keyboard { public: Keyboard(unsigned char ucColumnMode); enum KeyboardState eRead(void); private: TS_DISCO_F429ZI ts; TS_StateTypeDef TS_State; unsigned char ucTouchscreenColumn; }; #else #error "This class was definied previously" #endif