Aliexpressなどで販売されている64x32のフルカラードットマトリクスLED2枚とNucleo F401REを利用して、 E233系の駅停車時、路線名表示ありのLED側面行先表示を再現するプログラムです。 3秒間隔、3段階切替で、路線名、種別、行先、次停車駅を個別に指定することが可能です。

Dependencies:   SDFileSystem mbed

Files at this revision

API Documentation at this revision

Comitter:
chirashi
Date:
Tue Nov 11 10:32:04 2014 +0000
Parent:
9:ab87b0e361aa
Child:
11:4be8dcbad9f1
Commit message:
a

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Nov 11 09:56:45 2014 +0000
+++ b/main.cpp	Tue Nov 11 10:32:04 2014 +0000
@@ -38,7 +38,7 @@
 
 
 #define LED_Width 64
-#define LED_Height 8
+#define LED_Height 16
 
 BusOut ABC(D8,D9,D10,D14); // Row address.
 DigitalOut CLK(D11);    //  Data clock    - rising edge
@@ -58,42 +58,43 @@
 unsigned long CT; //        Counter for demo code
 
 int LEDBuffer [32][128] = {
-{10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,10,10,0,0,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,0,0,10,10,0,10,10,10,10,0,0,10,10,10,0,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,0,0,0,0,10,10,10,10,0,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,10,10,0,0,10,10,10,0,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,0,0,0,0,10,10,0,0,10,0,0,10,10,10,10,10,10,10,10,10,10,0,0,10,10,0,10,10,10,10,0,0,10,10,10,0,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,0,0,0,10,10,10,0,0,10,10,10,10,0,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,10,10,10,10,10,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,10,10,0,0,10,10,10,0,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,0,0,0,10,10,10,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,0,0,10,10,10,0,0,10,10,10,0,0,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,10,10,10,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,0,0,10,10,0,10,10,10,10,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,0,10,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,0,0,0,0,0,10,10,0,0,0,0,0,10,10,10,10,10,10,10,0,0,10,10,0,10,10,10,10,0,0,10,0,10,0,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,0,0,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,0,0,10,10,10,0,0,10,10,10,0,0,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,0,0,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,10,10,10,10,0,0,0,0,0,0,0,0,10,0,0,10,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,0,0,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,10,0,0,10,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,0,0,10,0,0,0,0,10,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,10,0,0,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,10,10,10,0,10,0,10,0,10,0,0,10,10,0,0,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,10,0,0,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,0,10,0,10,0,10,0,10,0,10,0,0,10,10,0,0,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,7,7,7,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,10,0,0,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,0,10,0,10,0,10,0,10,0,10,0,0,10,10,10,0,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,0,10,0,10,10,10,10,10,0,10,0,10,10,10,10,0,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,7,7,7,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,0,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
-{10,10,10,10,10,0,0,10,10,10,10,10,10,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,10,0,10,10,10,10,10,10,0,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
+{8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,0,0,0,7,7,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,7,7,0,7,7,0,0,0,0,0,0,0,0,0,0,7,7,7,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
+{8,8,8,8,8,8,8,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,0,0,0,0,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,0,7,7,7,0,0,0,0,0,0,7,7,0,0,7,7,0,0,0,0,0,7,7,7,7,7,7,7,7,0,0,0,0,0,0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,11,0,7,7,0,11,11,11,0,7,0,0,7,0,11,11,11,11,0,7,0,11,11,11,0,0,7,0,11,0,7,7,0,11,11,0,11,11,11,0,0,0,0,0,0,0,7,7,0,0,0,0,0,7,7,11,11,11,0,7,7,7,7,7,7,7,0,0,7,0,0,7,7,0,7,0,11,11,0,7,0,0,7,0,0,7,7,0,11,11,11,11,11,11,11,0,7,0,11,11,11,11,11,0,0,4,0,0,0,0,4,0,0,0,0,0,4,0,0},
 {11,11,11,11,0,11,0,0,11,11,11,0,0,11,11,11,11,11,0,11,11,0,11,11,11,11,11,11,0,11,11,11,11,11,11,0,11,11,11,0,0,11,11,11,11,11,11,11,0,0,0,0,0,0,0,7,7,0,0,0,7,7,7,0,11,11,11,11,0,0,0,0,0,0,0,11,11,0,11,11,0,0,11,0,11,11,11,11,0,11,11,0,11,11,0,0,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,0,0,0,0,0,4,4,0,0,0,0,0,0,0,4,0},
+{11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,7,7,0,7,7,7,7,0,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
+{11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,7,7,0,0,0,0,0,7,7,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
+{11,11,11,11,0,11,11,11,0,11,0,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,0,0,11,11,11,11,11,11,11,0,11,11,11,11,11,0,11,11,11,11,11,11,0,0,0,0,0,0,0,7,7,0,0,7,7,0,7,7,11,11,11,11,11,11,11,0,11,11,11,11,11,11,0,0,0,0,0,11,0,0,0,0,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
+{11,11,11,0,7,0,11,0,7,0,7,0,11,11,11,11,11,11,0,7,0,11,0,0,0,0,7,7,0,11,11,11,11,11,0,7,0,11,11,0,0,7,0,0,11,11,11,11,0,0,0,0,0,0,0,7,7,0,0,7,7,7,0,7,11,11,11,11,11,11,0,7,0,0,0,11,11,0,7,7,7,7,7,0,7,7,7,7,0,11,11,0,7,0,0,0,7,0,0,0,11,0,0,0,0,7,0,0,0,0,11,11,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0},
+{11,11,0,0,7,0,11,7,7,7,7,7,0,11,11,11,11,11,11,0,7,0,7,7,7,7,0,0,11,11,11,11,11,0,7,0,0,11,0,7,7,7,7,7,0,11,11,11,0,0,0,0,0,0,0,7,7,0,0,0,7,7,0,7,11,11,11,11,11,0,7,7,7,7,7,0,11,0,7,0,7,0,0,0,7,0,0,7,0,11,11,0,7,7,7,7,7,7,7,7,0,7,7,7,7,7,7,7,7,7,0,11,0,0,4,0,0,0,0,0,4,0,0,0,0,0,0,0},
+{11,0,7,7,7,7,0,0,7,0,7,0,0,11,11,11,11,11,0,11,0,0,7,0,0,0,0,0,0,11,11,11,0,7,0,0,7,0,0,7,0,0,0,7,0,11,11,11,0,0,0,0,0,7,7,7,7,7,7,0,7,7,0,7,11,11,11,11,0,7,0,0,0,7,0,11,11,0,7,7,7,7,7,0,7,0,0,7,0,11,11,0,7,0,0,0,0,0,0,0,11,0,0,0,0,7,0,0,0,0,11,11,0,0,0,4,0,0,0,0,4,0,0,0,0,0,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4,0,0,0,0,0,4,0,0,0,4,0,0,0},
+{11,11,11,0,7,0,7,7,0,11,0,7,7,0,11,11,11,0,7,0,0,7,0,11,11,11,11,0,7,0,11,11,11,0,0,7,0,11,0,7,7,0,11,11,0,11,11,11,0,0,0,0,0,0,0,7,7,0,0,0,0,0,7,7,11,11,11,0,7,7,7,7,7,7,7,0,0,7,0,0,7,7,0,7,0,11,11,0,7,0,0,7,0,0,7,7,0,11,11,11,11,11,11,11,0,7,0,11,11,11,11,11,0,0,4,0,0,0,0,4,0,0,0,0,0,4,0,0},
+{11,11,11,11,0,11,0,0,11,11,11,0,0,11,11,11,11,11,0,11,11,0,11,11,11,11,11,11,0,11,11,11,11,11,11,0,11,11,11,0,0,11,11,11,11,11,11,11,0,0,0,0,0,0,0,7,7,0,0,0,7,7,7,0,11,11,11,11,0,0,0,0,0,0,0,11,11,0,11,11,0,0,11,0,11,11,11,11,0,11,11,0,11,11,0,0,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,0,0,0,0,0,4,4,0,0,0,0,0,0,0,4,0},
 {11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,7,7,0,7,7,7,7,0,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
 
+
 };
 
 //10 Yellow(Nambu Local)
@@ -155,10 +173,10 @@
 void WrRow(unsigned char Row, int Buffer[32][128])
 {
     // Write specified row (and row+8) to display. Valid input: 0 to 7.
-    ABC = 7-Row; // Set row address
+    ABC = 15-Row; // Set row address
     for(int col=0; col<LED_Width; col++) { // To daisychain more displays, I guess you would have to increase this counter to n*32 columns. Might mirror though.
                
-        if (Buffer [(7-Row)][col] == 0){
+        if (Buffer [(15-Row)][col] == 0){
             R1 = R_Debug1;
             G1 = G_Debug1;
             B1 = B_Debug1;    
@@ -166,19 +184,19 @@
             //R1 = R1Data1[(LEDBuffer [(7-Row)][col])];
             //G1 = G1Data1[(LEDBuffer [(7-Row)][col])];
             //B1 = B1Data1[(LEDBuffer [(7-Row)][col])];
-            R1 = R1Data1[(Buffer [(7-Row)][col])];
-            G1 = G1Data1[(Buffer [(7-Row)][col])];
-            B1 = B1Data1[(Buffer [(7-Row)][col])];                      
+            R1 = R1Data1[(Buffer [(15-Row)][col])];
+            G1 = G1Data1[(Buffer [(15-Row)][col])];
+            B1 = B1Data1[(Buffer [(15-Row)][col])];                      
         }
         
-        if (Buffer [(15-Row)][col] == 0){
+        if (Buffer [(31-Row)][col] == 0){
             R2 = R_Debug1;
             G2 = G_Debug1;
             B2 = B_Debug1;    
         }else {
-            R2 = R1Data1[(Buffer [(15-Row)][col])];
-            G2 = G1Data1[(Buffer [(15-Row)][col])];
-            B2 = B1Data1[(Buffer [(15-Row)][col])];           
+            R2 = R1Data1[(Buffer [(31-Row)][col])];
+            G2 = G1Data1[(Buffer [(31-Row)][col])];
+            B2 = B1Data1[(Buffer [(31-Row)][col])];           
         }
         
         CLK = HIGH;                 // tick (clock bit in)
@@ -191,27 +209,27 @@
 void WrRow2(unsigned char Row,int Buffer[32][128])
 {
     // Write specified row (and row+8) to display. Valid input: 0 to 7.
-    ABC = 7-Row; // Set row address
+    ABC = 15-Row; // Set row address
     for(int col=0; col<LED_Width; col++) { // To daisychain more displays, I guess you would have to increase this counter to n*32 columns. Might mirror though.
   
-        if (Buffer [(7-Row)][col] == 0){
+        if (Buffer [(15-Row)][col] == 0){
             R1 = R_Debug2;
             G1 = G_Debug2;
             B1 = B_Debug2;    
         }else{
-            R1 = R1Data2[(Buffer [(7-Row)][col])];
-            G1 = G1Data2[(Buffer [(7-Row)][col])];
-            B1 = B1Data2[(Buffer [(7-Row)][col])];           
+            R1 = R1Data2[(Buffer [(15-Row)][col])];
+            G1 = G1Data2[(Buffer [(15-Row)][col])];
+            B1 = B1Data2[(Buffer [(15-Row)][col])];           
         }
 
-        if (Buffer [(15-Row)][col] == 0){
+        if (Buffer [(31-Row)][col] == 0){
             R2 = R_Debug2;
             G2 = G_Debug2;
             B2 = B_Debug2;    
         }else{
-            R2 = R1Data2[(Buffer [(15-Row)][col])];
-            G2 = G1Data2[(Buffer [(15-Row)][col])];
-            B2 = B1Data2[(Buffer [(15-Row)][col])];           
+            R2 = R1Data2[(Buffer [(31-Row)][col])];
+            G2 = G1Data2[(Buffer [(31-Row)][col])];
+            B2 = B1Data2[(Buffer [(31-Row)][col])];           
         }    
                
         CLK = HIGH;                 // tick (clock bit in)
@@ -224,27 +242,27 @@
 void WrRow3(unsigned char Row,int Buffer[32][128])
 {
     // Write specified row (and row+8) to display. Valid input: 0 to 7.
-    ABC = 7-Row; // Set row address
+    ABC = 15-Row; // Set row address
     for(int col=0; col<LED_Width; col++) { // To daisychain more displays, I guess you would have to increase this counter to n*32 columns. Might mirror though.
   
-        if (Buffer [(7-Row)][col] == 0){
+        if (Buffer [(15-Row)][col] == 0){
             R1 = R_Debug3;
             G1 = G_Debug3;
             B1 = B_Debug3;    
         }else{
-            R1 = R1Data3[(Buffer [(7-Row)][col])];
-            G1 = G1Data3[(Buffer [(7-Row)][col])];
-            B1 = B1Data3[(Buffer [(7-Row)][col])];           
+            R1 = R1Data3[(Buffer [(15-Row)][col])];
+            G1 = G1Data3[(Buffer [(15-Row)][col])];
+            B1 = B1Data3[(Buffer [(15-Row)][col])];           
         }
 
-        if (Buffer [(15-Row)][col] == 0){
+        if (Buffer [(31-Row)][col] == 0){
             R2 = R_Debug3;
             G2 = G_Debug3;
             B2 = B_Debug3;    
         }else{
-            R2 = R1Data3[(Buffer [(15-Row)][col])];
-            G2 = G1Data3[(Buffer [(15-Row)][col])];
-            B2 = B1Data3[(Buffer [(15-Row)][col])];           
+            R2 = R1Data3[(Buffer [(31-Row)][col])];
+            G2 = G1Data3[(Buffer [(31-Row)][col])];
+            B2 = B1Data3[(Buffer [(31-Row)][col])];           
         }
                
         CLK = HIGH;                 // tick (clock bit in)
@@ -257,27 +275,27 @@
 void WrRow4(unsigned char Row,int Buffer[32][128])
 {
     // Write specified row (and row+8) to display. Valid input: 0 to 7.
-    ABC = 7-Row; // Set row address
+    ABC = 15-Row; // Set row address
     for(int col=0; col<LED_Width; col++) { // To daisychain more displays, I guess you would have to increase this counter to n*32 columns. Might mirror though.
   
-        if (Buffer [(7-Row)][col] == 0){
+        if (Buffer [(15-Row)][col] == 0){
             R1 = R_Debug4;
             G1 = G_Debug4;
             B1 = B_Debug4;    
         }else{
-            R1 = R1Data4[(Buffer [(7-Row)][col])];
-            G1 = G1Data4[(Buffer [(7-Row)][col])];
-            B1 = B1Data4[(Buffer [(7-Row)][col])];            
+            R1 = R1Data4[(Buffer [(15-Row)][col])];
+            G1 = G1Data4[(Buffer [(15-Row)][col])];
+            B1 = B1Data4[(Buffer [(15-Row)][col])];            
         }
 
-        if (Buffer [(15-Row)][col] == 0){
+        if (Buffer [(31-Row)][col] == 0){
             R2 = R_Debug4;
             G2 = G_Debug4;
             B2 = B_Debug4;    
-        }else if (LEDBuffer [(15-Row)][col] == 1){
-            R2 = R1Data4[(Buffer [(15-Row)][col])];
-            G2 = G1Data4[(Buffer [(15-Row)][col])];
-            B2 = B1Data4[(Buffer [(15-Row)][col])];           
+        }else{
+            R2 = R1Data4[(Buffer [(31-Row)][col])];
+            G2 = G1Data4[(Buffer [(31-Row)][col])];
+            B2 = B1Data4[(Buffer [(31-Row)][col])];           
         }  
                
         CLK = HIGH;                 // tick (clock bit in)
@@ -291,7 +309,7 @@
 void WrRowOFF(unsigned char Row)
 {
     // Write specified row (and row+8) to display. Valid input: 0 to 7.
-    ABC = 7-Row; // Set row address
+    ABC = 15-Row; // Set row address
     for(int col=0; col<LED_Width; col++) { // To daisychain more displays, I guess you would have to increase this counter to n*32 columns. Might mirror though.
         R1 = 0; // Red bit, upper half
         G1 = 0; // Green bit, upper half