Skip to content

Commit

Permalink
deleting err_no_found case
Browse files Browse the repository at this point in the history
  • Loading branch information
Asyasyarif committed Apr 15, 2020
1 parent 955fe43 commit 1c98db3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/SimpleValidation/SimpleValidation.ino
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ void loop() {
Serial.printf("User Authenticated : %s ", cat.Name().c_str());
break;

//Password 12345678 is just example, change it with your password
case FILL_THE_PASSWORD:
Serial.println("Insert Password :");
if(cat.enteredPassword("123456")){
Expand All @@ -97,10 +98,6 @@ void loop() {
}
break;

case ERR_NOT_FOUND:
Serial.println("Not found");
break;

case UNSUCCESSFULL:
Serial.printf("Failed : %s", cat.Messages().c_str());
break;
Expand Down

0 comments on commit 1c98db3

Please sign in to comment.