dhk
Newbie level 5
- Joined
- Oct 12, 2014
- Messages
- 9
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 56
Hello,
I am reading the data from the rfid reader via Arduino Mega and sending it to pc.
But when the data is read by the pc, in the end some unwanted characters appear(mostly smileys). I have defined an array of 15 but when I use strlen function to check the length of the data received, then it shows 16.
Also sometimes the data coming will be of 31 characters with the same data being appended at the end.
Can someone please explain why is this problem occuring?
I am reading the data from the rfid reader via Arduino Mega and sending it to pc.
But when the data is read by the pc, in the end some unwanted characters appear(mostly smileys). I have defined an array of 15 but when I use strlen function to check the length of the data received, then it shows 16.
Also sometimes the data coming will be of 31 characters with the same data being appended at the end.
Can someone please explain why is this problem occuring?