AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Committer:
sillevl
Date:
Thu Feb 09 12:28:56 2017 +0000
Revision:
27:f29805113454
Parent:
9:b587bae22691
ARCHIVE WIP, not working (crashes, cause unknown)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sillevl 4:2c91c9eccf3a 1 #ifndef LCD_H
sillevl 4:2c91c9eccf3a 2 #define LCD_H
sillevl 4:2c91c9eccf3a 3
sillevl 4:2c91c9eccf3a 4 #include "TextLCD.h"
sillevl 4:2c91c9eccf3a 5
sillevl 4:2c91c9eccf3a 6 struct LcdPins{
sillevl 4:2c91c9eccf3a 7 PinName rs;
sillevl 4:2c91c9eccf3a 8 PinName e;
sillevl 4:2c91c9eccf3a 9 PinName p4;
sillevl 4:2c91c9eccf3a 10 PinName p5;
sillevl 4:2c91c9eccf3a 11 PinName p6;
sillevl 4:2c91c9eccf3a 12 PinName p7;
sillevl 4:2c91c9eccf3a 13 };
sillevl 4:2c91c9eccf3a 14
sillevl 4:2c91c9eccf3a 15 class LCD : public TextLCD{
sillevl 4:2c91c9eccf3a 16
sillevl 4:2c91c9eccf3a 17 public:
sillevl 4:2c91c9eccf3a 18 LCD(PinName rs, PinName e, PinName d4, PinName d5, PinName d6, PinName d7, LCDType type = LCD16x2);
sillevl 5:be598835bab0 19 void showLogo(const char** logo);
sillevl 4:2c91c9eccf3a 20
sillevl 9:b587bae22691 21 private:
sillevl 9:b587bae22691 22 void load_special_chars();
sillevl 9:b587bae22691 23
sillevl 4:2c91c9eccf3a 24 };
sillevl 4:2c91c9eccf3a 25
sillevl 4:2c91c9eccf3a 26
sillevl 4:2c91c9eccf3a 27 #endif