Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected action taken after successfully storing the fingerprint in enroll example. #69

Merged
merged 4 commits into from
Jan 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 5 additions & 3 deletions examples/enroll/enroll.ino
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
please support Adafruit and open-source hardware by purchasing
products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries.
Written by Limor Fried/Ladyada for Adafruit Industries.
Small bug-fix by Michael cochez

BSD license, all text above must be included in any redistribution
****************************************************/

Expand Down Expand Up @@ -85,7 +87,7 @@ void loop() // run over and over again
Serial.print("Enrolling ID #");
Serial.println(id);

while (! getFingerprintEnroll() );
while (! getFingerprintEnroll() );
}

uint8_t getFingerprintEnroll() {
Expand All @@ -99,7 +101,7 @@ uint8_t getFingerprintEnroll() {
Serial.println("Image taken");
break;
case FINGERPRINT_NOFINGER:
Serial.println(".");
Serial.print(".");
break;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println("Communication error");
Expand Down