I am a grade 8 student. I want to write the following code when placing the RFID Card on the receiver tray. And then ordered the LED to be on all the time when the RFID card was removed. The LED must be off.
And when inserting the RFID Card (incorrect), the speaker will make a loud noise and the light won't turn
Can I get the sample code and explanations from all of your knowledgeable people?
thank you very much
I'm from Thailand.