Utils

Uitility functions used by core interface

This module contains functions that are unnecessary to go in main core classes and perform specific functions

Functions

hexbyte_2integer_normalizer(first_int_byte, second_int_btye)
Function to normalize integer bytes to a single byte
adafruit_fingerprint.utils.hexbyte_2integer_normalizer(first_int_byte, second_int_btye)[source]

Function to normalize integer bytes to a single byte

Transform two integer bytes to their hex byte values and normalize their values to a single integer

Parameters:second_int_byte (first_int_byte,) – integer values to normalize (0 to 255)
Returns:integer – Single normalized integer
Return type:int