Looking for RFID sensore help

Let me see if I follow you correctly. The main loop is where the card reader is searching for cards and we only want that to happen when the wheel has stopped turning. Basically, the code should ignore the card ID's until the wheel has stopped.
If I create a loop ('while' function?) that just does nothing while the wheel is spinning. If it stops exits the wheelspin-loop and continues to the main void loop.