Problem interfacing fingerprint R300 with arduino

Hi all!

This is my problem: I am using R300 fingerprint with arduino uno and using adafruit library. When enrolling, all is well. But Error occurs when using the "fingerprint" example of the library. Sensor don't find ther fingerprint enrollled. The error comes from the method fingerprintFastSearch() but i don't know why.

Could anyone help me, please! Thanks in advance.

I have resolved the problem by changing the value of the constant defined in Adafruit_Fingerprint.h by 0x04 and it worked.