mbed3 zad 4
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI LEDBOARD BSP_DISCO_F429ZI KEYBOARD
KeyboardLed/KeyboardLed.h@0:a9c26b76c0c1, 2020-06-13 (annotated)
- Committer:
- krzysiek99
- Date:
- Sat Jun 13 13:30:27 2020 +0000
- Revision:
- 0:a9c26b76c0c1
mbed3 zad 4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
krzysiek99 | 0:a9c26b76c0c1 | 1 | #ifndef KEYBOARD_LED_H |
krzysiek99 | 0:a9c26b76c0c1 | 2 | #define KEYBOARD_LED_H |
krzysiek99 | 0:a9c26b76c0c1 | 3 | #include "Keyboard.h" |
krzysiek99 | 0:a9c26b76c0c1 | 4 | #include "Ledboard.h" |
krzysiek99 | 0:a9c26b76c0c1 | 5 | class KeyboardLed |
krzysiek99 | 0:a9c26b76c0c1 | 6 | { |
krzysiek99 | 0:a9c26b76c0c1 | 7 | public: |
krzysiek99 | 0:a9c26b76c0c1 | 8 | KeyboardLed(unsigned char ucColumn); |
krzysiek99 | 0:a9c26b76c0c1 | 9 | enum KeyboardState eRead(void); |
krzysiek99 | 0:a9c26b76c0c1 | 10 | Keyboard *pKeyboard; |
krzysiek99 | 0:a9c26b76c0c1 | 11 | Ledboard *pLedboard; |
krzysiek99 | 0:a9c26b76c0c1 | 12 | }; |
krzysiek99 | 0:a9c26b76c0c1 | 13 | #else |
krzysiek99 | 0:a9c26b76c0c1 | 14 | #error "This class was definied previously" |
krzysiek99 | 0:a9c26b76c0c1 | 15 | #endif |