a

Dependents:   2b

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Keyboard_Ts.h Source File

Keyboard_Ts.h

00001 #ifndef KEYBOARD_TS_H
00002 #define KEYBOARD_TS_H
00003 
00004 #include "TS_DISCO_F429ZI.h"
00005 
00006 enum KeyboardTsState { RELASED , BUTTON_0 , BUTTON_1 , BUTTON_2 , BUTTON_3 };
00007 
00008 class KeyboardTs{
00009 public:
00010     KeyboardTs ();
00011     enum KeyboardTsState eRead (void);
00012 private:
00013     uint16_t x, y;
00014     TS_DISCO_F429ZI ts;
00015     TS_StateTypeDef TS_State;
00016 };
00017 
00018 #endif