My name is TougHD, I am new to programming and I am in dire need of Your programming skills!
So I need to send a 10 bytes(char) long data (which is read from an RFID tag) from one Nano to another and it would be efficient if the reading routine would start only if there is 10 bytes of usefull data. If there is less then 10 bytes then it should ignore.
I have tried to make a char tagValue; and load the data read to it but despite of having a garbage data(not enough bytes, wrong reading) it will fill up the rest memory with '0' 's and the other side still reads 10 bytes of data.
I thought that Dynamic Memory could be a solution for this problem but I am new to programming and if You could help me this in any way(example code or anything that could be useful) I would highly appreciate it.
Thank you in advance! :)