Clearing the terminal screen?

后端 未结 14 2394
隐瞒了意图╮
隐瞒了意图╮ 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 08:06

    You could try:

    Serial.write(13);
    

    Which will provide a carriage return, returning to the start of the line every iteration - which should do what you're chasing? (Especially if everything is fixed width).

    0 讨论(0)
  • 2020-12-29 08:06

    If you change baudrate for example back and forth it clears the Serial Monitor window in version 1.5.3 of Arduino IDE for Intel Galileo development

    0 讨论(0)
提交回复
热议问题