When the newline character arrives, a flag is set. However, reception of new characters is not stopped. In a case where several commands are sent in a row, this may cause some part of the next command end up interpreted as appended to this command (Serial has a built-in buffer, so if it is not drained regularly enough, several characters will appear to have arrived at the same time). This will break parsing of both commands.
Miriam/Programs/Serial_003/Serial_003.ino
Line 864 in ebd0f58
When the newline character arrives, a flag is set. However, reception of new characters is not stopped. In a case where several commands are sent in a row, this may cause some part of the next command end up interpreted as appended to this command (
Serialhas a built-in buffer, so if it is not drained regularly enough, several characters will appear to have arrived at the same time). This will break parsing of both commands.