How can I get my code to wait for me to scan my second RFID?
Is there a way for me to pause my code in the middle of the two if statements so I can scan the second RFID so the code can continue on to the second if statement with the information from the second RFID?
Code:
// Using Arduino Uno and RFIDs RC522
#include <require_cpp11.h>
#include <MFRC522.h>
#include <deprecated.h>
#include <MFRC522Extended.h>
#include <SPI.h>
I want to scan two separate RFIDs while the code is running the continues were originally returns but I thought that was why it wasn't letting me scan two RFIDs. I think it may be something else, I'm still not sure how to stop the program in the middle to let me scan the second RFID?
Leave a comment: