Simulator data log
When a string is written to the serial port, it’s sent immediately over the serial connection. However, when you code with ||serial:write string|| in the Editor, the simulator’s data log may not display the output data right away. The characters that represent the string may get queued in the data log buffer and won’t display until:
- a ‘newline’ line character is received (
\n)
– or –
- log data buffer limit is reached (currently set at
255characters).
If you want to see the string displayed immediately, use a ||serial:write line|| with an empty string right after the ||serial:write string||.