Seeeduino Xiao for RFID access control (RC522 reader)

consider cutting your code into sub-routines and call them as functions in your master code

write your code to iterrupt when new rf is detected, set led, process authentication… approve authentication… flash led and end authincation loop