That's actually a nice idea

And true, the coolness factor increases 10-fold.
I currently have the following code:
#include <LiquidCrystal.h>
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
int ledPin13 = 13; // LED connected to digital pin 13
int incomingByte; // a variable to read incoming serial data into
char* LCDStrings[]={"Incoming chat","Click stop flash","Alarm stopped","Have a good chat"};
void setup() {
lcd.begin(16, 2);
lcd.clear();
pinMode(ledPin13, OUTPUT); // sets the digital pin as output
Serial.begin(9600); // initialize serial communication
}
void loop() {
if (Serial.available() > 0) {
incomingByte = Serial.read(); // read the oldest byte in the serial buffer
while (incomingByte == 48) {
PrintLCD(0);
digitalWrite(ledPin13, HIGH); // sets the LED on
delay(250);
digitalWrite(ledPin13, LOW); // sets the LED on
if (Serial.available() > 0) {
incomingByte = Serial.read(); // read the oldest byte in the serial buffer
}
delay(250);
}
if (incomingByte == 177) {
digitalWrite(ledPin13, LOW); // sets the LED off
PrintLCD(2);
delay(3000);
lcd.clear();
}
}
}
int PrintLCD(byte messageid) {
lcd.clear();
lcd.setCursor(0, 0);
lcd.print(LCDStrings[messageid]);
lcd.setCursor(0, 1);
lcd.print(LCDStrings[messageid+1]);
}
Is this ok ? Are there optimalizations possible ?