
Mbed part 1
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
Keyboard.h
- Committer:
- lolkusus
- Date:
- 2020-05-25
- Revision:
- 3:715c5581d79f
- Parent:
- 1:d392393df3d0
File content as of revision 3:715c5581d79f:
#ifndef __Keyboard_H #define __Keyboard_H #include "TS_DISCO_F429ZI.h" typedef enum KeyState { BUTTON_0, BUTTON_1, BUTTON_2, BUTTON_3, NONE } KeyState; class Keyboard { public: Keyboard(unsigned char ucColumn = 0); KeyState eRead(); private: unsigned char ucColumnNumber; TS_DISCO_F429ZI ts; TS_StateTypeDef TS_State; }; #endif