String key = "Jesus Christ"; String password; void setup() { // initialize the serial communications: Serial.begin(9600); pinMode(9, OUTPUT); pinMode(10, OUTPUT); while (!Serial); Serial.println("Christmas celebrates the birth of who???"); } void loop() { // when characters arrive over the serial port... if (Serial.available()) { // wait a bit for the entire message to arrive delay(100); // read all the available characters while (Serial.available() > 0) { // display each character to the LCD String password = Serial.readString(); Serial.println(Serial.readString()); if (password == key){ Serial.print("It's about that time of the year!! May the spirit of Christmas bring you peace,love and hope. Happy Holiday's ENJOY!!!"); digitalWrite(10, HIGH); delay(500); digitalWrite(10, LOW); delay(500); digitalWrite(10, HIGH); delay(500); digitalWrite(10, LOW); delay(500); digitalWrite(10, HIGH); delay(1000); digitalWrite(10, LOW); delay(1000); digitalWrite(10, HIGH); delay(1000); digitalWrite(10, LOW); delay(1000); } if (password != key){ Serial.print("Incorrect,sorry take another shot at it!"); digitalWrite(9, HIGH); delay(1000); digitalWrite(9, LOW); delay(1000); digitalWrite(9, HIGH); delay(1000); digitalWrite(9, LOW); delay(1000); } } } }