Clearing the terminal screen?

后端 未结 14 2533
隐瞒了意图╮
隐瞒了意图╮ 2020-12-29 07:03

I\'m reading data from 9 different sensors for my robot and I need to display them all steadily, in the same window so I can compare the values and see if any of the reading

14条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-29 07:57

    ESC is the character _2_7, not _1_7. You can also try decimal 12 (aka. FF, form feed).

    Note that all these special characters are not handled by the Arduino but by the program on the receiving side. So a standard Unix terminal (xterm, gnome-terminal, kterm, ...) handles a different set of control sequences then say a Windows terminal program like HTerm.

    Therefore you should specify what program you are using exactly for display. After that it is possible to tell you what control characters and control sequences are usable.

提交回复
热议问题