2020-07-07 12:42 AM
Hello,
I am writing an application for STM32H7. I need to clear serial terminal the screen before showing the new lines on the terminal.
Can anyone please help?
Thank you in advance.
Vouria
2020-07-07 02:30 AM
If you know what terminal emulation you have configured then you can look up the appropriate escape sequence.
i.e. VT52/VT100 you can send Esc[2J i.e. printf( "\x1B[2J" );.
Andy