But I want to clear window before new line of data will come.
No, you want to clear the window before you write new data on it. Completely different events. The background() function clears the screen.
But I want to clear window before new line of data will come.
No, you want to clear the window before you write new data on it. Completely different events. The background() function clears the screen.