Driver for the Seeedstudio RGB OLED module for the xadow M0

Revision:
10:ef7440718431
Parent:
9:5a7bf0ce8518
Child:
11:162aa3e801df
--- a/src/SSD1331.cpp	Tue Nov 17 19:45:22 2015 +0000
+++ b/src/SSD1331.cpp	Tue Nov 17 21:20:37 2015 +0000
@@ -62,7 +62,10 @@
 #include "wait_api.h"
 
 SSD1331::SSD1331(PinName cs, PinName rst, PinName dc, PinName mosi, PinName miso, PinName sclk)
-:SGL(RGB_OLED_WIDTH, RGB_OLED_HEIGHT), _cs(cs), _dc(dc), _spiPort(mosi, miso, sclk)
+    :SGL(RGB_OLED_WIDTH, RGB_OLED_HEIGHT), 
+    _cs(cs), 
+    _dc(dc),
+    _spiPort(mosi, miso, sclk)
 {
     _spiPort.format(8,3); //8bit frame and POL=1 /PHA=1(UpEdge Sampled)
     _spiPort.frequency(25000000); // modify later