void Graphics::clear( [ Color | ColorIndex bgcolor ] )
Graphics::clear will clear the screen (by default black, custom color can be specified), reset the cursor and the font.
none
#include <Gamebuino-Meta.h>void setup() { gb.begin(); }
void loop() { while(!gb.update()); // clear the screen gb.display.clear();
// clear the lights gb.light.clear();
gb.display.println("Hello World!"); }