AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
board/LCD.cpp@5:be598835bab0, 2014-12-13 (annotated)
- Committer:
- sillevl
- Date:
- Sat Dec 13 12:24:37 2014 +0000
- Revision:
- 5:be598835bab0
- Parent:
- 4:2c91c9eccf3a
- Child:
- 9:b587bae22691
Refactored game board (all hardware) and added abstract game class
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sillevl | 4:2c91c9eccf3a | 1 | #include "LCD.h" |
sillevl | 4:2c91c9eccf3a | 2 | |
sillevl | 4:2c91c9eccf3a | 3 | LCD::LCD(PinName rs, PinName e, PinName d4, PinName d5, PinName d6, PinName d7, LCDType type) : TextLCD(rs, e, d4, d5, d6, d7, type) { |
sillevl | 4:2c91c9eccf3a | 4 | |
sillevl | 5:be598835bab0 | 5 | } |
sillevl | 5:be598835bab0 | 6 | |
sillevl | 5:be598835bab0 | 7 | void LCD::showLogo(const char** logo){ |
sillevl | 5:be598835bab0 | 8 | for(int line = 0; line < 4; line++){ |
sillevl | 5:be598835bab0 | 9 | this->locate(0,line); |
sillevl | 5:be598835bab0 | 10 | this->printf(logo[line]); |
sillevl | 5:be598835bab0 | 11 | } |
sillevl | 4:2c91c9eccf3a | 12 | } |