C12832 by dreschpe modified to work with the DOGL128-6 LCD Display (ST7565R based)

Dependents:   DOGL128Test

Fork of C12832_lcd by Peter Drescher

Revision:
18:672450caf175
Parent:
16:3b6865c11663
Child:
19:23a26a1668cf
--- a/DOGL128.cpp	Sat Jul 16 22:12:27 2016 +0000
+++ b/DOGL128.cpp	Tue Jul 19 23:20:36 2016 +0000
@@ -15,8 +15,8 @@
 
 #define BPP    1       // Bits per pixel
 
-DOGL128::DOGL128(const char* name)
-    : GraphicsDisplay(name), _spi(SPI_MOSI, NC, SPI_SCK), _reset(D7), _A0(D9), _CS(D8)
+DOGL128::DOGL128(PinName mosi, PinName clk, PinName cs, PinName a0, const char* name)
+    : GraphicsDisplay(name), _spi(mosi, NC, clk), _reset(D7), _A0(a0), _CS(cs)
 {
     orientation = 1;
     contrast = 16;