test
Fork of UniGraphic by
Revision 23:70790fa6e0ca, committed 2015-09-21
- Comitter:
- satyanraj
- Date:
- Mon Sep 21 15:48:50 2015 +0000
- Parent:
- 22:f9a37f22b9cb
- Commit message:
- test commit
Changed in this revision
Inits/ST7565.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f9a37f22b9cb -r 70790fa6e0ca Inits/ST7565.cpp --- a/Inits/ST7565.cpp Thu Jun 11 22:39:09 2015 +0000 +++ b/Inits/ST7565.cpp Mon Sep 21 15:48:50 2015 +0000 @@ -28,6 +28,7 @@ set_orientation(1); locate(0,0); } + ST7565::ST7565(proto_t displayproto, PinName* buspins, PinName CS, PinName reset, PinName DC, PinName WR, PinName RD, const char *name, unsigned int LCDSIZE_X, unsigned int LCDSIZE_Y) : LCD(displayproto, buspins, CS, reset, DC, WR, RD, LCDSIZE_X, LCDSIZE_Y, IC_X_SEGS, IC_Y_COMS, name) { @@ -38,6 +39,7 @@ set_orientation(1); locate(0,0); } + ST7565::ST7565(proto_t displayproto, int Hz, PinName mosi, PinName miso, PinName sclk, PinName CS, PinName reset, PinName DC, const char *name, unsigned int LCDSIZE_X, unsigned int LCDSIZE_Y) : LCD(displayproto, Hz, mosi, miso, sclk, CS, reset, DC, LCDSIZE_X, LCDSIZE_Y, IC_X_SEGS, IC_Y_COMS, name) { @@ -48,6 +50,7 @@ set_orientation(1); locate(0,0); } + // reset and init the lcd controller // init sequence is manufacturer specific void ST7565::init()