Library for fingerprint R503 Adaptation from Arduino Library
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
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
Diff: main.cpp
- Revision:
- 1:961580c296da
- Parent:
- 0:75835b5692b9
- Child:
- 2:e92d97ac59e4
diff -r 75835b5692b9 -r 961580c296da main.cpp --- a/main.cpp Mon Jan 16 22:05:16 2017 +0000 +++ b/main.cpp Wed Jan 25 15:44:53 2017 +0000 @@ -12,6 +12,7 @@ c = pc.getc(); myled = 1; // turn off pc.putc(c); + pc.putc('\r'); pc.putc('\n'); Thread::wait(500); pc.printf("Enter a character>");