A fork of dreschpe library with pin names added to the constructor
Fork of C12832_lcd by
Revision 13:8a9cad03124b, committed 2014-01-01
- Comitter:
- chris
- Date:
- Wed Jan 01 08:41:07 2014 +0000
- Parent:
- 12:4affce236743
- Commit message:
- Whitespace changes only
Changed in this revision
C12832_lcd.cpp | Show annotated file Show diff for this revision Revisions of this file |
C12832_lcd.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4affce236743 -r 8a9cad03124b C12832_lcd.cpp --- a/C12832_lcd.cpp Sat Nov 09 01:02:48 2013 +0000 +++ b/C12832_lcd.cpp Wed Jan 01 08:41:07 2014 +0000 @@ -37,6 +37,7 @@ lcd_reset(); } + int C12832_LCD::width() { if (orientation == 0 || orientation == 2) return 32;
diff -r 4affce236743 -r 8a9cad03124b C12832_lcd.h --- a/C12832_lcd.h Sat Nov 09 01:02:48 2013 +0000 +++ b/C12832_lcd.h Wed Jan 01 08:41:07 2014 +0000 @@ -59,6 +59,7 @@ C12832_LCD(PinName mosi, PinName sck, PinName reset, PinName a0, PinName ncs, const char* name = "LCD"); + /** Get the width of the screen in pixel * * @param