A C12832 LCD with generic interface

Dependents:   mbed_blinky HTTPClient_HelloWorld websocketandnode xbeerx ... more

Fork of C12832 by Chris Styles

Revision:
18:03069e3deaa4
Parent:
16:7de323fa46fe
--- a/C12832.cpp	Mon Mar 17 19:47:39 2014 +0000
+++ b/C12832.cpp	Fri May 09 23:03:21 2014 +0000
@@ -29,7 +29,7 @@
 
 
 C12832::C12832(PinName mosi, PinName sck, PinName reset, PinName a0, PinName ncs, const char* name)
-    : _spi(mosi,NC,sck),_reset(reset),_A0(a0),_CS(ncs),GraphicsDisplay(name)
+    : GraphicsDisplay(name),_spi(mosi,NC,sck),_reset(reset),_A0(a0),_CS(ncs)
 {
     orientation = 1;
     draw_mode = NORMAL;