Releases: adafruit/Adafruit_CircuitPython_Fingerprint
2.1.3 - Fixed issue with Black and Pylint versions in the pre-commit config
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fingerprint
.
Read the docs for info on how to use it.
2.1.2 - Moved to pre-commit, added licensing info
pre-commit has been added to the GitHub Actions workflow in this repository. pre-commit allows you to run multiple checks, such as black and checking the REUSE licensing compliance, both locally and on GitHub Actions with one command.
You can run pre-commit locally with pre-commit run --all-files
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fingerprint
.
Read the docs for info on how to use it.
Update fingerprint_r503_rpi.py example
fingerprint_r503_rpi.py example updated to use the correct image size when downloading the fingerprint image.
The r503 has a 192x192 image. the other sensors use 256x288.
Add set_led() to control LED or R503 Sensor
Adds a function set_led() to the library to control the built-in LED for the r503 sensor.
def set_led(self, color=1, mode=3, speed=0x80, cycles=0):
"""LED function -- only for R503 Sensor.
Parameters: See User Manual for full details
color: 1=red, 2=blue, 3=purple
mode: 1-breathe, 2-flash, 3-on, 4-off, 5-fade_on, 6-fade-off
speed: animation speed 0-255
cycles: numbe of time to repeat 0=infinite or 1-255
Returns the packet error code or success"""
Added examples for r503 that demonstrate some led functions.
Details regarding the LED control are in the Users Manual
https://cdn-shop.adafruit.com/product-files/4651/4651_R503+fingerprint+module+user+manual.pdf
Add finger_search
Added finger_search() function and modified examples to use it instead of finger_fast_search().
The finger_fast_search does not work on the R503 Panel Mount Fingerprint Sensor.
Modified the examples to use finger_search() so they work with both the R503 Panel Mount FingerPrint Sensor (PID 4651) as well as the Fingerprint Sensor (PID 751).
Also added access to attributes for "system_id" and "status_register".
1.2.2 - Fixed discord invite link
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fingerprint
.
Read the docs for info on how to use it.
1.2.1 - Added Black check, reran Black with Python 3 target.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fingerprint
.
Read the docs for info on how to use it.
1.2.0 - Upgrade to latest Pylint, implement Black formatting
We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.
- Remove pinned Pylint version number from build.yml file
- Synced
.pylintrc
file to match Adafruit standard - Ran upgraded Pylint and applied any changes or new disables necessary
- Ran Black formatter and allowed application of changes across entire repo
For more information on using Pylint and Black on your code, check out this guide on working with Pylint and Black
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fingerprint
.
Read the docs for info on how to use it.
Add support for more ZhianTec sensors.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fingerprint
.
Read the docs for info on how to use it.
1.1.5 - Fixed README rendering
This release includes:
- Removed a section in the README was not allowing it to render properly in PyPI
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fingerprint
.
Read the docs for info on how to use it.