fingerprint4 2.1.0.0
|
Fingerprint 4 Click example. More...
Macros | |
#define | LOCATION_IN_FLASH 0 |
#define | NUMBER_OF_FINGERPRINTS 3 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Fingerprint 4 Click example.
This example demonstrates the use of the Fingerprint 4 click boards by registering 3 fingerprints and then waiting until a finger is detected on the sensor and identifying if the fingerprint matches one of those stored in the Flash storage.
The demo application is composed of two sections :
Initializes the driver and reads the sensor firmware version, then resets the sensor and removes all stored fingerprint templates. After that it registers 3 new fingerprint templates and stores them in the Flash storage.
Waits until a finger is detected on the sensor, takes an image of the finger and checks if there's a fingerprint in the library that matches the one it has just read. If it finds a match, a fingerprint template ID will be displayed. All data is being logged on the USB UART where you can track the program flow.
#define LOCATION_IN_FLASH 0 |
#define NUMBER_OF_FINGERPRINTS 3 |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |