I am using ATmega16 to transmit a string via UART. For some reason, when I press "write" in my programming software, AVR FLASH in this case, I get the first character of my string repeated. I attach a picture for you to understand better. I have tried different codes, so I think that the code is not the problem. I also tried receiving data and it works perfect. The problem is when transmitting. What do you think of this?
EDITED: An interesting thing: when I delay before the transmission, the character does not repeat.