fingerprint3  2.0.0.0
Macros | Functions | Variables
main.c File Reference

Fingerprint3 Click example. More...

#include "board.h"
#include "log.h"
#include "fingerprint3.h"
#include "string.h"

Macros

#define LOCATION_IN_LIBRARY   1
 
#define NUMBER_OF_FINGERPRINTS   2
 
#define NUMBER_OF_IMAGES   3
 

Functions

void application_init (void)
 
void application_task (void)
 
void main (void)
 

Variables

uint8_t package_content [FINGERPRINT3_MAX_PACKAGE_LENGTH]
 
uint8_t error_check = 0
 

Detailed Description

Fingerprint3 Click example.

Description

This example reads and processes data from Fingerprint 3 clicks.

The demo application is composed of two sections :

Application Init

Initializes the driver, configures the sensor, and enrolls fingerprints.

Application Task

Takes an image of the finger, then checks if there's a fingerprint in the library that matches the one it has just read. All data is being logged on the USB UART.

Additional Function

Author
MikroE Team

Macro Definition Documentation

◆ LOCATION_IN_LIBRARY

#define LOCATION_IN_LIBRARY   1

◆ NUMBER_OF_FINGERPRINTS

#define NUMBER_OF_FINGERPRINTS   2

◆ NUMBER_OF_IMAGES

#define NUMBER_OF_IMAGES   3

Function Documentation

◆ application_init()

void application_init ( void  )

Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG

Note
If USB_UART_RX and USB_UART_TX are defined as HAL_PIN_NC, you will need to define them manually for log to work. See LOG_MAP_USB_UART macro definition for detailed explanation.

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )

Variable Documentation

◆ error_check

uint8_t error_check = 0

◆ package_content

uint8_t package_content[FINGERPRINT3_MAX_PACKAGE_LENGTH]