This terminal thingy is a beauty and a great mechanism for interacting with the device remotely. Thanks @Pavlo @vshymanskyy @Dmitriy .
If the app is on and the device reboots, there seems to be no way to clear/initialise the terminal screen/buffer in the app. Any pointers here?
Costas
February 10, 2018, 4:42pm
2
That’s right, you need to do it with code.
Just do blynk.virtualWrite(vPin, “\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n”): ? I read somewhere that the widget has the last 25 lines. So, should we gives 25 new lines to clear it?
Costas
February 10, 2018, 5:05pm
4
Depends why you are clearing it.
I normally just clear visible windows, which varies a little based on phone screen res.
distans
February 10, 2018, 5:59pm
5
mohan_sundaram:
Any pointers here?
You use the magnifying glass at your top right for a possible solution
According to the Widget terminal -docs, 25 blank lines should do the trick:
for (int i = 0; i <= 24; i++) {
terminal.println(""); // "clear screen" in app.
}
terminal.flush();
1 Like
Pavlo
February 10, 2018, 6:32pm
6
@mohan_sundaram
Please DO NOT tag Blynk Team. We monitor EVERY topic.
It creates irritation and hurts more than helps.
1 Like
Thanks. I did search using brother Google but not the magnifying glass here. Thought Big Brother would catch everything under the sun.