Coding a corporate card with individual card access

Hey guys! New here and need a hand with a code for a tool box access system I have been working on. I have been given a list of individuals who will have access to this box and the rest of the company will be denied access. The system is currently up and running flawlessly but as of now EVERYBODY has access and needless to say the boss is not too happy. PLEASE HELP!!

HID_final_toolbox.ino (4.01 KB)

Please post your code.

but as of now EVERYBODY has access and needless to say the boss is not too happy. PLEASE HELP!!

Nowhere do you have a list of which cards should have access, and nowhere do you see if the scanned card is in that list.

Your comment on line 144 IS accurate, though.

PaulS:
Your comment on line 144 IS accurate, though.

:slight_smile: