[SOLVED] Wifly & LCD screen conflict

I don't know much about the WiFly unit, but I know a bit about the SPI bus from experience gained from the ethernet shield. You must disable one to access the other. If this is not done in the low level access in the library, you will need to do it before each access.

// in setup()
// set WiFly SS to OUTPUT and HIGH (disabled)
pinMode(10,OUTPUT);
digitalWrite(10,HIGH);

// enable lcd SPI
pinMode(9,OUTPUT);
digitalWrite(9,LOW);
// do the comm
lcd.init(PHILLIPS);  // Initializes lcd, using an EPSON driver
lcd.contrast(80);  // 40's usually a good contrast value
lcd.clear(RED);  // oooh, teal!
// then disable the lcd SPI
digitalWrite(9,HIGH);

I have not checked the WiFly library to see if it handles its SPI SS line in the low level read/write routines. You may or may not need to do that with the WiFly SS also (digital pin 10).

edit: I think both of those were in the setup, so I changed it to that.