Enrolling your fingerprint
The first thing that we have to do is enroll at least one fingerprint so that it can be later recognized by the sensor. We will do that in this section. Here is most of the code for this section:
// Libraries #include <Adafruit_Fingerprint.h> #include <SoftwareSerial.h> // Fingerprint enroll function uint8_t getFingerprintEnroll(uint8_t id); // Software Serial instance SoftwareSerial mySerial(2, 3); // Fingerprint sensor instance Adafruit_Fingerprint finger = Adafruit_Fingerprint(andmySerial); void setup() { // Start serial Serial.begin(9600); Serial.println("fingertest"); // Set the data rate for the sensor serial port finger.begin(57600); // Verify that sensor is present if (finger.verifyPassword()) { Serial.println("Found fingerprint sensor!"); } else { Serial.println("Did not find fingerprint sensor :("); while (1); } } void loop() { // Wait for fingerprint ID Serial.println("Type in the ID # you want to...