Mbed touchscreed project. To be corrected

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI

Keyboard_Ts.h

Committer:
piotrlopata
Date:
2020-05-19
Revision:
7:982fb1421824
Parent:
4:35b2f0e76b02

File content as of revision 7:982fb1421824:

#ifndef KEYBOARD_TS_H
#define KEYBOARD_TS_H

#include "TS_DISCO_F429ZI.h"

enum Buttons { BUTTON_0, BUTTON_1, BUTTON_2, BUTTON_3, NOT_A_BUTTON };

class KeyboardTs {
    private: 
        uint16_t uiColumnX;
        TS_DISCO_F429ZI ts;
        TS_StateTypeDef TS_State;
    public: 
        KeyboardTs(uint16_t);
        Buttons eRead(void);  
};

#endif