Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PhyXTGears-1720 committed Apr 4, 2017
1 parent e66bf4e commit d31c2ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Serial.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ bool serialInterp () {
in = Serial.readString();
}
in.toUpperCase();
if (in == "TEST" || in == "TEST\n" || in == "BLING" || in == "BLING\n" || in == "TEAM" || in == "TEAM\n") {
Serial.println(in);
if (!(in == "TEST" || in == "TEST\n" || in == "BLING" || in == "BLING\n" || in == "TEAM" || in == "TEAM\n")) {
Serial.println("What would you like to do?");
Serial.println("\ttest");
Serial.println("\tbling");
Expand Down

0 comments on commit d31c2ce

Please sign in to comment.