strcat appending multiple times when called in loop
Appends a copy of the source string to the destination string.


source

Congratulations, you've broken your string literal. Either stick to using String or make sure you allocate a string properly and then concatenate into that.