Home Page | Language Reference (extended) | SD Reference | Libraries | Comparison | Changes
Fill the entire screen with the background color. Default is black.
Robot.clearScreen();
none
none
#include <ArduinoRobot.h>
void
setup
(
)
{
Robot.begin
(
)
;
Robot.beginTFT
(
)
;
//Initialize the TFT module
}
void
loop
(
)
{
Robot.text
(
"Hello World"
,
0
,
0
,
true
)
;
delay
(
2000
)
;
Robot.clearScreen
(
)
;
//empty the screen
delay
(
2000
)
;
}
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.