help with maxmatrix library, 8x64 matrix max7219.

OK. I think you understand the problem now.

So, you need to decide how you want it to work.

Let's assume for now that it takes 5 seconds to scroll the text once. During that 5 seconds, you cannot read the serial port, and the text will not change. At the end of that 5 seconds, we come back into the loop to read more characters.

  1. Do you want it to replace the existing characters, or do you want it to add the new characters to the end of the existing text?
  2. If you decide that you want it to just add the characters to the end, the last code I posted will do that, and keep looping the string since the string is stored. But, you will then need to work out how you want to clear the string and start again.
  3. If you decide you only want to display the string each time a line is complete, the previous code I wrote will do that. WIth that code, the string is stored and looped. When a new character is entered, the looping stops and the core waits for the next "enter" key. It then displays and loops the new text.