Hello,
I tried to make a flow chart for a program and I don't know if that correct is , can someone check my flow chart ?
Regards ,
Rita
Hello,
I tried to make a flow chart for a program and I don't know if that correct is , can someone check my flow chart ?
Regards ,
Rita
It seems correct, as far as I know what you should do. But I think a main control is missing and a point is unclear to me.
You check for block reading and if the block is not authenticate. To avoid infinite authentication retries in the case that it is not possible for some reason IMO you should add a retry counter to this control so after a certain number of retries the program exits anyway with a condition error.
The part that in my opinion is missing instead is a previous control - for almost the same reason - after the UID reading. What happens if the reading fails? You can't print nothing and there is not an exit condition in this case (e.g. wrong tag, hardware problem, unreadable tag and so on)
Then, it is the worth to write the code and test it
Enrico
Thanks for reply .
Rita