Library for fingerprint R503 Adaptation from Arduino Library

Dependencies:   Fingerprint-Lib

This a library and demo for fingerprint R503

For datasheet, see here -> https://cdn-shop.adafruit.com/product-files/4651/4651_R503%20fingerprint%20module%20user%20manual.pdf

This is an adaptation of Adafruit library (Arduino) to ARM MBED, tested on NUCLEO L073RZ

https://os.mbed.com/media/uploads/cdupaty/r503b.jpg https://os.mbed.com/media/uploads/cdupaty/r503-nucleol073rzpetit.jpg

For this exemple default connexions on NUCLEOL073RZ are :

TX <-> PC_0

RX <-> PC_1

WAKEUP <-> PB_0 , this is an Interrupt , you must connect a pull-up resistor (4K to 15k) between WAKEUP and DC3.3v

Power Supply 3.3v on Arduino connector

3.3VT : 5v on Arduino connector

IMPORTANT !!! There ara yet some bugs with communications UART

Revision:
4:a2d1329d042c
Parent:
3:5b27b27e68ab
Child:
5:022e24a51359
--- a/main.cpp	Wed Jan 09 22:22:22 2019 +0000
+++ b/main.cpp	Wed Jan 22 12:34:48 2020 +0000
@@ -13,6 +13,7 @@
         c = pc.getc();
         myled = 1;  // turn off
         pc.putc(c);
+        pc.putc(c); // echo twice
         pc.putc('\r');
         pc.putc('\n');
         wait(0.5);