Is it a good thing if i delete all data in the data array, at the end of loop?
Yes. You should also set tag_card1 to false, too.
Like this?
Yes.
However, if you only diddle with the LED pin's status after reading a (good) tag, it doesn't matter.
Is it a good thing if i delete all data in the data array, at the end of loop?
Yes. You should also set tag_card1 to false, too.
Like this?
Yes.
However, if you only diddle with the LED pin's status after reading a (good) tag, it doesn't matter.