cyberjupiter:
Every time a card is scanned, increment the point by 1 and write it to the card.First, create a variable name "point" or whatever that identifies point.
Then using the function writeBlock, write the point to the card.
That should be:-
First, create a variable name "point" or whatever that identifies point.
Set that variable to the scan count stored in two bytes of some block somewhere on your card.
Increment that variable by 1
Write it back to the same two bytes of the same block.
Use Serial.print to display that variable on the serial monitor.