I have a doubt interfacing with fingerprint module (R305) with the Arduino Mega. I have been able to interface it to Arduino Uno before but not Arduino Mega so far.
I have used the Mega's hardware Serial1 pins 19 (Rx) and 18 (Tx) pins.
However, I am unable to get output from the module. How do I connect hardware serial and what is a sketch to do this?