i'tired to connect r503 fingerprint sensor to arduino but i always receive"did not find fingerprint sensor" I have reversed the rx and tx pins but the problem is still there. and this is code i use:
#include#if (defined(AVR) || defined(ESP8266)) && !defined(AVR_ATmega2560)
// For UNO and others without hardware serial, we must use software serial...
// pin #2 is IN from sensor (GREEN wire)
// pin #3 is OUT from arduino (WHITE wire)
// Set up the serial port to use softwareserial..
SoftwareSerial mySerial(3, 8);
#else
// On Leonardo/M0/etc, others with hardware serial, use hardware serial!
// #0 is green wire, #1 is white
#define mySerial Serial1
#endif
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
in here i use the pin 3 and 8 to rx tx ,is this the problem because i don't use pin 2 and 3? because i see in library and i found syntax "include softwareserial32.h" in library fingerprint.
kindly need your help sir, regards iqbal