The connection is fine :
// Color LCD Shield library
#include <ColorLCDShield.h>
#define SIZE 4
LCDShield lcd; // Creates an LCDShield, named lcd
char Str4[ ] = "11111110011111001011101111111n10000010100011111110001000001n10111010010110111001101011101n10111010110001100101001011101n10111010000111001111001011101n10000010101001110100101000001n11111110101010101010101111111n00000000000000011001000000000n11111011111101111101010101010n10011100110111001111111010001n00110011110000011000101100000n00111100011000111001111011010n11001111110011110111000101100n11100101111100101111111110001n00011111011010110100100011100n11100100010000011001111010010n00000010000011100101000101100n10011101100101001001111110101n10110010110001111000010010100n10110100010100110011000010010n10110011110111100100111110111n00000000110100101110100011111n11111110101001011011101011100n10000010000110001011100010001n10111010100011000100111110110n10111010111101001011000101101n10111010111001110001011111110n10000010111100111000110111010n11111110101101011101001010100n";
void setup()
{
lcd.init(PHILLIPS); // Initializes lcd, using an EPSON driver
lcd.contrast(40); // 40's usually a good contrast value
lcd.clear(WHITE); // oooh, teal!
int col = 5,row = 5;
for (int i = 0;i < sizeof(Str4);i++) {
if (Str4[i] == 'n') {
col = 5;
row += SIZE;
} else {
if (Str4[i] == '1') {
drawBig(SIZE,SIZE,RED,row,col);
}
else {
drawBig(SIZE,SIZE,WHITE,row,col);
}
col += SIZE;
}
}
}
void drawBig(int w,int h,int color,int row,int col) {
for (int i = 0;i < w;i++) {
for (int a = 0;a < h;a++) {
lcd.setPixel(color,col+i,row+a);
}
}
}
void loop()
{
}
The problem is that I can't control the display after I initialized the wifly