There would be three modes of operation: 1. Adding of New Users2. Deleting of Currently Enrolled Users3. Reading the State of Currently Enrolled Users, whether they have previously logged in or logged out of the system

Our problem:

ADDING OF NEW USERS1st readRFID() - gets the RFID card data2nd getEmptyID() - gets an available location within the biometric fingerprint scanner where biometric data would be saved3rd enroll_data() - scans the fingerprint and saves it on the location taken from the getEmptyID() function

When I try to put the getEmptyID() and enroll_data() function in the loop structure, there is actually no output.However, if only one function is present in the loop structure, we can see an output from the Serial Monitor, which is either printing an available location or asking the user to enroll his/her fingerprint data.

You might need to review your data types and arrays. It is very much clear in the code that the variable test is an array. Therefore, you have to indicate which element are you trying to access in the test array by placing an index i.e. test[0], test[1],.. and so on.

Sorry. I did not notice that that was a part of our code. That was just an initial draft of our code before so we were trying to get some help but then we were able to figure it out on our own so we did not update this forum already. Hope the code below helps.

Post your code in code tags.... didn't you see half of it's in italics? Somewhere in there there's a square bracket i square bracket from an array and that turns italics on. So the square bracket i square bracket has actually gone missing.