AGH UST mbed part 3

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI

Keyboard_Ts.h

Committer:
matis755
Date:
2020-05-09
Revision:
1:36b3fd4a01fd
Parent:
0:f4a48c08fea7

File content as of revision 1:36b3fd4a01fd:

#ifndef KEYBOARD_TS
#define KEYBOARD_TS

#include "TS_DISCO_F429ZI.h"

enum KeyboardState{
    RELASED,
    BUTTON_0,
    BUTTON_1,
    BUTTON_2,
    BUTTON_3
};

class KeyboardTs : private TS_DISCO_F429ZI {
    private:
        unsigned char ucColIdx;
    public:
        KeyboardTs(unsigned char);
        enum KeyboardState eRead(void);  
    
};

#endif