Skip to content

Compare print to file Error #53

Closed
@josevargasop

Description

@josevargasop

I'm trying to use this example but i get this error when I try to compare print to file.

Waiting for finger print... Templating... Loading file template...Traceback (most recent call last): File "/home/pi/Adafruit_CircuitPython_Fingerprint/examples/fingerprint_template_file_compare.py", line 199, in <module> fingerprint_check_file() File "/home/pi/Adafruit_CircuitPython_Fingerprint/examples/fingerprint_template_file_compare.py", line 72, in fingerprint_check_file i = finger.compare_templates() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/.local/lib/python3.11/site-packages/adafruit_fingerprint.py", line 323, in compare_templates r = self._get_packet(14) ^^^^^^^^^^^^^^^^^^^^ File "/home/pi/.local/lib/python3.11/site-packages/adafruit_fingerprint.py", line 349, in _get_packet raise RuntimeError("Failed to read data from sensor") RuntimeError: Failed to read data from sensor

I'm on raspberry pi 4 with this sensor

All the other examples works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions