From e236e4026fff61f452db55d46879f60831810267 Mon Sep 17 00:00:00 2001
From: dorababu <dorababu@subcom.tech>
Date: Tue, 29 Nov 2022 11:14:10 +0530
Subject: [PATCH] downLoadImage function from DFrobot

- Not working
- return zeros
---
 ReadRawData/src/src.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ReadRawData/src/src.cpp b/ReadRawData/src/src.cpp
index 42ebb63..f6a81ad 100644
--- a/ReadRawData/src/src.cpp
+++ b/ReadRawData/src/src.cpp
@@ -36,8 +36,8 @@ void serialPrintFPdata() {
   for (uint16_t i = 0; i < 25600; i++) {
     // Serial.print(i);
     // Serial.print('\t');
-    Serial.println(data[i]);
-    // Serial.print(" ");
+    Serial.print(data[i]);
+    Serial.print(" ");
     delay(10);
   }
   // Serial.println();
@@ -56,7 +56,7 @@ void read_image() {
                       /*blinkCount = */ 0);
   // Serial.println("Please release your finger");
   // Collect full images
-  fingerprint.getFingerImage(data);
+  fingerprint.downLoadImage(1, data);
   delay(100);
 }
 
-- 
GitLab