Posting snippet of code will get you snippets of answ
Read the forum guidelines to see how to properly post code and some information on how to get the most from this forum. Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
Please, clearly mention what string you want to transmit from the InputBox (Fig-1) of the Serial Monitor to UNO? UNO will receive the charcaters of the string as they are arriving and will show them on the OutputBox of the Serial monitor. Correct?
Hi @mario_kuebler_mke. Since your two topics seem too closely related, and thus likely to result wasting the time of the helpers through the creation of parallel discussions, I have merged them into a single topic.
1. Without delay(1000), the following event occurs:
At bd = 500000, one charcaters takes about 20 us time (1*10/500000). readString() is a blcoking codes and it keeps receiving upto 64 charcaters from the Serial Buffer. Those 64 charcaters are printed. After that the remaining charcaters enter into the Serial Buffer, the readString() function reads/prints them correctly and you see them as concatenated with the previous partial string.
2. With delay(1000), the following event occurs:
After receiving/printing the first 64 charcaters, the MCU enters into 1-sec delay(1000) loop which is a blocking code and keeps the interrupt logic disabled/inactive. On the other hand, Serial Port operation requires "active condition of the interrupt logic"; so, no characters have been accumulated in the Serial Buffer though they have been arriving. As a result, you loose the remaining characters.