my code is
Code: Select all
#include <LiquidCrystal.h>
#include <Adafruit_Fingerprint.h>
#if ARDUINO >= 100
#include <SoftwareSerial.h>
#else
#include <NewSoftSerial.h>
#endif
uint8_t getFingerprintEnroll(uint8_t id);
#if ARDUINO >= 100
//green 11 and white 12
SoftwareSerial mySerial(11, 12);
#else
NewSoftSerial mySerial(11, 12);
#endif
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
//4 rs==10 and enable 6 ==9
LiquidCrystal lcd(10, 9, 5, 4, 3, 2);
void setup() {
lcd.begin(16, 2);
Serial.begin(9600);
lcd.print("fingertest");
delay(200);
finger.begin(57600);
if (finger.verifyPassword()) {
delay(200);
lcd.print("Found fingerprint sensor!");
} else {
lcd.print("Did not find fingerprint sensor smiley-sad");
while (1);
}
delay(200);
lcd.print("fp code not working");
}
void loop() {
}
i think error is at this function
if (finger.verifyPassword()
plz suggest me urgently smiley-sad
Report to moderator 207.244.78.9