Ćwiczenie zrealizowane na potrzeby przedmiotu PPO przez Krzysztofa Bolka

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI

keyboard_ts.h

Committer:
bolko
Date:
2020-05-20
Revision:
1:d562d46c33b7
Parent:
Keyboard_Ts.h@ 0:f4c2a4d3c318

File content as of revision 1:d562d46c33b7:

#ifndef KEYBOARD_TS_H
#define KEYBOARD_TS_H
#include "mbed.h"

enum KeyboardState{
    BUTTON_0,
    BUTTON_1,
    BUTTON_2,
    BUTTON_3,
    RELEASED
};
    
class KeyboardTs{
    public:
        enum KeyboardState eRead();
        KeyboardTs(uint8_t);
    private:
        uint8_t ui8Column;
};


#endif