Mbed part 1

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI

Keyboard.h

Committer:
lolkusus
Date:
2020-05-23
Revision:
1:d392393df3d0
Child:
3:715c5581d79f

File content as of revision 1:d392393df3d0:

#ifndef __Keyboard_H
#define __Keyboard_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;
};

#endif