0

Fingerprint error
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Fingerprint error

by sergepav on Wed Sep 27, 2017 4:50 pm

Hi. I use the fingerprint reader R308. The Arduino IDE 1.8.2, Board Nodemcu V3 ( esp8266 ). When I use the fingerprint.ino, I get the error:

fingerprint:28: error: no matching function for call to 'Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*)'

С‹\Arduino\fingerprint\fingerprint.ino:28:61: note: candidates are:

In file included from С‹\Arduino\fingerprint\fingerprint.ino:19:0:

C:\Program Files (x86)\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:77:3: note: Adafruit_Fingerprint::Adafruit_Fingerprint(HardwareSerial*)

Adafruit_Fingerprint(HardwareSerial *);

^

C:\Program Files (x86)\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:77:3: note: no known conversion for argument 1 from 'SoftwareSerial*' to 'HardwareSerial*'

C:\Program Files (x86)\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:72:7: note: constexpr Adafruit_Fingerprint::Adafruit_Fingerprint(const Adafruit_Fingerprint&)

class Adafruit_Fingerprint {

^

C:\Program Files (x86)\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:72:7: note: no known conversion for argument 1 from 'SoftwareSerial*' to 'const Adafruit_Fingerprint&'

C:\Program Files (x86)\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:72:7: note: constexpr Adafruit_Fingerprint::Adafruit_Fingerprint(Adafruit_Fingerprint&&)

C:\Program Files (x86)\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:72:7: note: no known conversion for argument 1 from 'SoftwareSerial*' to 'Adafruit_Fingerprint&&'

С‹\Arduino\fingerprint\fingerprint.ino: In function 'uint8_t getFingerprintID()':

С‹\Arduino\fingerprint\fingerprint.ino:120:1: warning: control reaches end of non-void function [-Wreturn-type]

exit status 1
no matching function for call to 'Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*)'

sergepav
 
Posts: 1
Joined: Wed Sep 27, 2017 4:13 pm

Re: Fingerprint error

by hnazarparvar on Sat Feb 02, 2019 6:09 am

hi there
i have this problem too.
please led me!
best regards
hassan nazarparvar

hnazarparvar
 
Posts: 1
Joined: Sat Feb 02, 2019 6:05 am

Re: Fingerprint error

by adafruit_support_carter on Mon Feb 04, 2019 5:46 pm

Software serial is only available for certain boards:
https://github.com/adafruit/Adafruit-Fi ... int.h#L111

adafruit_support_carter
 
Posts: 11091
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.