B4R Question Using files as dbase

Mostez

Well-Known Member
Licensed User
Longtime User
Hello,
first, sorry for long thread;

i'm asking if there are examples or tutorials to show how to use files with Arduino Mega as a small data base, I need to store RFID card numbers with date and time then retrieve them again according to user defined criteria, i.e. from date to date or card number. that's for logger.

Which is more applicable! open one file for each card number like 0123456.txt, contains user data like name and job title or to use one file for all card numbers i.e. users.txt, what are limitations for each method, like max number of files per folder, max lines per file.

here is what I want to achieve,
add,modify or delete (users with card number and name etc..), when user apply RFID card to device, the device then open file and read user data and check validity...etc, then display name and any other data on LCD.

Thanks
 

Attachments

  • 0123456.txt
    21 bytes · Views: 210
  • log.txt
    54 bytes · Views: 219
  • users.txt
    50 bytes · Views: 235
Top