STM32 Clear Serial Monitor Screen
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
Labels:
- Labels:
-
STM32H7 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-07-07 2: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
