/* FPS_Enroll.ino - Library example for controlling the GT-511C3 Finger Print Scanner (FPS) Created by Josh Hawley, July 23rd 2013 Licensed for non-commercial use, must include this license message basically, Feel free to hack away at it, but just give me credit for my work =) TLDR; Wil Wheaton's Law This sketch will attempt to identify a previously enrolled fingerprint. */ #include "FPS_GT511C3.h" #include "SoftwareSerial.h" FPS_GT511C3 fps(11,12); void setup() { Serial.begin(9600); while (!Serial) { } fps.Open(); delay(500); fps.SetLED(true); } void loop() { if (fps.IsPressFinger()) { fps.CaptureFinger(false); int id = fps.Identify1_N(); if (id <20) { Serial.print("Id. valide ID:"); Serial.println(id); } else { Serial.println("Empreinte non valide !"); } } else { Serial.println("Poser votre doigt."); } delay(1000); }