
Ćwiczenie zrealizowane na potrzeby przedmiotu PPO przez Krzysztofa Bolka
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
Diff: Keyboard_Ts.h
- Revision:
- 0:f4c2a4d3c318
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Keyboard_Ts.h Tue May 12 15:42:00 2020 +0000 @@ -0,0 +1,22 @@ +#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 \ No newline at end of file