Clearing the terminal screen?

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

    You could just do:

    Serial.println("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
    

    or if you want:

    for (int i=0; i<100; i++) {
       Serial.print("\n");
    }
    

提交回复
热议问题