AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Diff: board/LCD.cpp
- Revision:
- 5:be598835bab0
- Parent:
- 4:2c91c9eccf3a
- Child:
- 9:b587bae22691
--- a/board/LCD.cpp Sat Dec 13 10:11:24 2014 +0000 +++ b/board/LCD.cpp Sat Dec 13 12:24:37 2014 +0000 @@ -2,4 +2,11 @@ LCD::LCD(PinName rs, PinName e, PinName d4, PinName d5, PinName d6, PinName d7, LCDType type) : TextLCD(rs, e, d4, d5, d6, d7, type) { +} + +void LCD::showLogo(const char** logo){ + for(int line = 0; line < 4; line++){ + this->locate(0,line); + this->printf(logo[line]); + } } \ No newline at end of file